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

Much cleanup for configuration docs #674

Merged
merged 4 commits into from Feb 12, 2019
Merged

Conversation

agjohnson
Copy link
Collaborator

  • Clean up a lot of copy.
    • Reduce usage of internal Sphinx concepts like "toctree"
    • Make language clearer
    • Fix a few factual inaccuracies
    • Remove noisey/placeholder/introduction to a paragraph sort of text,
      this just distracts readers.
  • Make confval domain role to allow for creation of config value field
    lists that are linkable and can be referenced. Also include
    type/default fields
  • Reduce redundancy in heading
  • Intersphinx to Sphinx docs
  • Use new role to intersphinx to Sphinx confvals
  • Add copy on using logo/etc. These are common questions for us for
    those not familiar with Sphinx. Link to appropriate docs.
  • Drop all of conf.py boilerplate

* Clean up a lot of copy.
  * Reduce usage of internal Sphinx concepts like "toctree"
  * Make language clearer
  * Fix a few factual inaccuracies
  * Remove noisey/placeholder/introduction to a paragraph sort of text,
    this just distracts readers.
* Make `confval` domain role to allow for creation of config value field
  lists that are linkable and can be referenced. Also include
  type/default fields
* Reduce redundancy in heading
* Intersphinx to Sphinx docs
* Use new role to intersphinx to Sphinx confvals
* Add copy on using logo/etc. These are common questions for us for
  those not familiar with Sphinx. Link to appropriate docs.
@agjohnson agjohnson requested a review from a team September 26, 2018 20:42
@agjohnson agjohnson added the Improvement Minor improvement to code label Sep 26, 2018
@agjohnson agjohnson added this to the 0.5 milestone Sep 26, 2018
@agjohnson
Copy link
Collaborator Author

An example of the output:

image

Copy link
Member

@Blendify Blendify left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice improvement! Small comments:

docs/configuring.rst Outdated Show resolved Hide resolved

:type: string

Change the Google Analytics ID that is included on pages.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe note that this is not actually used yet?

:type: boolean
:default: ``False``

Only display the logo image, do not display the project name at the top of
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that the version number will still be displayed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we document it yet? I can comment it out for now if it's effectively a noop.

docs/configuring.rst Show resolved Hide resolved
docs/configuring.rst Show resolved Hide resolved
docs/configuring.rst Outdated Show resolved Hide resolved
docs/configuring.rst Outdated Show resolved Hide resolved
docs/configuring.rst Outdated Show resolved Hide resolved
docs/configuring.rst Outdated Show resolved Hide resolved
docs/configuring.rst Outdated Show resolved Hide resolved
docs/configuring.rst Outdated Show resolved Hide resolved
docs/configuring.rst Outdated Show resolved Hide resolved
docs/configuring.rst Show resolved Hide resolved
@agjohnson
Copy link
Collaborator Author

Thanks for the feedback, and sorry it took a while to return to this! I edited with all of the above feedback and fixed a couple more issues on intersphinx linking.

It's important to note that if you don't follow the same styling for your rST headers across
your documents, the toctree will misbuild, and the resulting menu might not show the correct
depth when it renders.
Currently the left menu will build based upon any ``toctree`` directives defined
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Currently the left menu will build based upon any ``toctree`` directives defined
Currently the left menu will build based upon any :rst:dir:`sphinx:toctree` directives defined

@jessetan
Copy link
Contributor

LGTM with 1 comment (above)

Copy link
Member

@ericholscher ericholscher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great changes. Going to merge this for the next release.

@ericholscher ericholscher merged commit 68e31e1 into master Feb 12, 2019
@stsewd stsewd deleted the agj/docs-config-updates branch February 12, 2019 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Minor improvement to code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants