fbdoc & tools update May 2019 #148
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
wiki updates:
-stripand-nostripoptionfbdoc updates:
getindex&getpagetools are updated to use CWikiCon* objects.getindexprobably shows best, though there is still some messy / duplicated code there.HAVE_MYSQLconditional compilation, as it is likely only interesting to me at the moment. In future, most of these conditionals should get centralized in CWikiConSql, which will simply provide a default (always fail) interface whenHAVE_MYSQLis not defined. i.e. allow compilation but not require linking with the mysql library.One of the goals of
fbdoc(aside from generating the manual) from the beginning has been to use the features available in the compiler. Haven't done that in a while. So, I started with CWikiCon as it is one of the simpler interfaces to work with.Once the connection is established, sometimes with specialized methods for each class, the intent is that only the common methods are then needed, accessed through the base class
The MySQL inclusion likely doesn't have much practical use for on line wiki. Mostly I added it just to check that the raw data I can fetch from the database is exactly the same data I can fetch from the web server.