-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Docs for feature flag #5043
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
Docs for feature flag #5043
Changes from 5 commits
3fbe47d
4adef9e
78389bb
c7c7370
534026d
9bbd946
2f8cedb
3e83667
819e5c8
5d5c2ff
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
Feature Flags | ||
============= | ||
|
||
Read the Docs offers some additional flag settings which can be only be configured by the site admin. | ||
These are optional settings and you might not need it for every project. | ||
By default, these flags are disabled for every project. | ||
A seperate request can be made by opening an issue on our `github`_ to enable | ||
or disable one or more of these featured flags for a particular project. | ||
|
||
.. _github: https://github.com/rtfd/readthedocs.org | ||
|
||
Available Flags | ||
--------------- | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we could use a rst role to keep the list updated, something like #4451 (comment) https://github.com/rtfd/readthedocs.org/pull/4451/files#diff-d4de2c39f7f56cdad5a95921ae1398ec There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @stsewd There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. List and description There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @stsewd featureflags: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I love adding features like this to our docs! 💯 I would suggest a change here: instead of using a role to put all of the different feature flags in a single block, this should mimic what the django setting role does. Also, if you were to implement a feature like this normally, you'd use a There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @agjohnson
But doing this, we will lost the automatic rendering of the docs. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think we want to fully automate things, there might be some feature flags we don't want documented or don't need documented. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you for the explanation. |
||
|
||
USE_SPHINX_LATEST: | ||
~~~~~~~~~~~~~~~~~~ | ||
|
||
Use latest version of Sphinx in building the project. | ||
|
||
USE_SETUPTOOLS_LATEST: | ||
~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
Use latest version of setuptools in building the project. | ||
|
||
ALLOW_DEPRECATED_WEBHOOKS: | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
Allow deprecated webhook views. | ||
|
||
PIP_ALWAYS_UPGRADE: | ||
~~~~~~~~~~~~~~~~~~~ | ||
|
||
Always run: | ||
|
||
.. code-block:: bash | ||
|
||
pip install --upgrade | ||
|
||
before building the project. | ||
|
||
SKIP_SUBMODULES: | ||
~~~~~~~~~~~~~~~~ | ||
|
||
Skip git submodule checkout. | ||
|
||
DONT_OVERWRITE_SPHINX_CONTEXT: | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
Do not overwrite context vars in conf.py with Read the Docs context. | ||
|
||
ALLOW_V2_CONFIG_FILE: | ||
~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
Allow to use the v2 of the configuration file. | ||
|
||
MKDOCS_THEME_RTD: | ||
~~~~~~~~~~~~~~~~~ | ||
|
||
Use Read the Docs theme for MkDocs as default theme. |
Uh oh!
There was an error while loading. Please reload this page.