-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve GitHub and Doxygen docs. #228
Comments
Other things I've noticed;
|
After playing around with markdown docs and github actions in #230 I think maybe replacing There are still several things here that need fixing, so I'm going to put together a PR with the bits still worth doing. |
The github actions doing the document build is spitting out the following message;
These errors don't show up if you do an in-place build, only if you specify a build directory. Interestingly it doesn't complain about any other markdown docs or links. Looking at the generated html directory I see the following files;
$ ls build/html/md_* build/html/md__home_abo_src_librsync_librsync_NEWS.html build/html/md__home_abo_src_librsync_librsync_TODO.html
Note that its putting the whole path to my repo into the file name, so the result is not hermetic and is leaking information about the build location. It doesn't do this for an in-place build;
Also interesting is it doesn't complain about any other markdown docs, or even generate md_*.html files for them. Instead files like CONTRIBUTING.md get generated as html/page_contributing.html. It seems this is because of the
{#page_contributing}
on the title in these documents.When using a newer Doxygen it doesn't complain about the references using markdown
[NEWS.md](NEWS.md)
style links instead of a Doxygen\ref
links, but it still complains about the Doxygen\ref
links. So between 1.8.17 and 1.9.1-1 Doxygen became more robust about resolving markdown references.When viewing docs on github, all the Doxygen
\ref
links and{#page_install}
anchors are not interpreted, making the documents harder to navigate on github. Since Doxygen understands markdown links and other markdown syntax, we should try to stick to markdown format as much as possible. However, given how Doxygen generates filenames for non-in-place builds, we probably should put{#page_<foo>}
style anchors on all markdown docs.The general structure of the docs could use some tidying. In particular the README.md does not make a great introduction/overview page. There are also other bugs related to parts of the documentation that could be improved. I have some old thoughts on documentation and document templates that would be worth considering here;
http://minkirri.apana.org.au/~abo/projects/prjdocs/
The text was updated successfully, but these errors were encountered: