forked from readthedocs/sphinx_rtd_theme
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Don't require npm to build from source (readthedocs#1039)"
This reverts commit c40686d. This commit and the subsequent one broke the search bar on our hosted documentation. Signed-off-by: Paul Chaignon <[email protected]>
- Loading branch information
Showing
6 changed files
with
51 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,5 @@ | ||
version: 2 | ||
python: | ||
version: 3.8 | ||
version: 3.6 | ||
install: | ||
- requirements: docs/requirements.txt | ||
- method: pip | ||
path: . | ||
|
||
sphinx: | ||
configuration: docs/conf.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,17 +101,17 @@ To release a new version of the theme, core team will take the following steps: | |
#. Update the changelog (``docs/changelog.rst``) with the version information. | ||
#. Run ``python setup.py update_translations`` to compile new translation files | ||
and update Transifex. | ||
#. Run ``python setup.py build_assets`` to rebuild all the theme assets and the Python | ||
#. Run ``python setup.py build`` to rebuild all the theme assets and the Python | ||
package. | ||
#. Commit these changes. | ||
#. Tag the release in git: ``git tag $NEW_VERSION``. | ||
#. Push the tag to GitHub: ``git push --tags origin``. | ||
#. Upload the package to PyPI: | ||
|
||
.. code:: console | ||
.. code:: console | ||
$ rm -rf dist/ | ||
$ python setup.py sdist bdist_wheel | ||
$ twine upload --sign --identity [email protected] dist/* | ||
$ rm -rf dist/ | ||
$ python setup.py sdist bdist_wheel | ||
$ twine upload --sign --identity [email protected] dist/* | ||
.. _PEP440: https://www.python.org/dev/peps/pep-0440/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.