-
Notifications
You must be signed in to change notification settings - Fork 23
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
Merge reference doc into the main doc #167
Conversation
9047a44
to
95e356b
Compare
Still some broken relative links, e.g. the link under "See this example of a variable using legislation parameters." in legislation-parameters.html |
Arg, indeed, relatives links with an anchor are processed in a really weird way: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is for sure a lot to say about how to improve the doc, especially the new Python API part, which was a confidential POC so far.
I think there's already a lot of value on making that information more widely available.
As :
- Content hasn't changed
- Additions are in a specific section
The overall for me is a 👍
is at least as good and usable as the previous one for users
I think it is, at least police is ok and that's IMHO the most important for reading.
Some minor issues that are not blocking :
- Links displayed as buttons
- Sidebar style is a bit weird
We lost one feature that's "collaborative editing", but I'm not sure of the its actual real usage.
I'm ok with it if we add the "about this documentation" to the root level of the sidebar, at the end or second level for example, so it is easily discoverable.
is maintainable by the OpenFisca team
I think it is as maintainable as it was before.
Some next steps, in "about this documentation":
- explain what is rst
- how PYthon API doc is generated from code.
I request changes for some leftovers and a required "about this doc" rewrite, otherwise GTM.
Ok I finally managed to find a solution to the broken link issue that seem to work, but it's quite ugly. We can keep this hack and hope for a fix of the underlying @sandcha @Morendil @pblayo @maukoquiroga what do you think? It'd be great to take the decision asap. |
@fpagnoux I'm ok with the ugly hack if we can keep https://openfisca.org/doc |
Ok, can you approve the PR then 😄 ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noice ! Trop cool.
96241bb
to
1ff3c50
Compare
1ff3c50
to
291c382
Compare
Fixes openfisca/openfisca-core#571
Aims to merge two official documentations into one site and generate its HTML files:
openfisca-core/doc/
openfisca-doc
repository.To do so:
openfisca-doc
repository.openfisca-doc/source/openfisca-python-api
.rst
and.md
filessource/conf.py
configuration file for Sphinx v1.5 (generated withsphinx-quickstart
command).md
management library (see recommonmark and AutoStructify) and save its dependencies inrequirements.txt
fileMakefile
dev
tag (check it onhttp://127.0.0.1:8000/
)Todo:
WARNING: extension 'recommonmark' has no setup() function; is it really a Sphinx extension module?
).nojekyll
file already added ; see documentation for other steps)Notes:
.html
generation with Sphinx comes with some compatibility bugs:And this warning with 1.4:
Note: v1.4 is given as example in recommonmark getting started.