Skip to content
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

Fix Docs Generation #115

Closed
wants to merge 3 commits into from
Closed

Fix Docs Generation #115

wants to merge 3 commits into from

Conversation

DirectXMan12
Copy link
Member

This fixes the warnings on the parsing of references to MechType, and fixes the bug in requires_rfc.py preventing us from generating documentation in newer versions of Sphinx.

frozencemetery and others added 3 commits May 31, 2017 14:44
Updated version in setup.py an in docs conf.py
In the case of :class`MechTypes`s, the "s" at the end was causing
Sphinx to fail to parse the class markup.  This fixes that by rewording
slightly to remove the need for the trailing "s".
The requires_rfc.py docs extension was not properly setting the parent
node when adding child text nodes.  This caused a hiccup in newer
versions of Sphinx, meaning we could not generate new documentation.

This commit should fix that by using methods to clear and set the
children, as opposed to directly setting the child list.
@frozencemetery
Copy link
Member

Pushed to master as 7f035c1 and 8310103

@frozencemetery frozencemetery deleted the infra/fix-docs-generation branch May 31, 2017 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants