-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
readthedocs: Add search ranking and use latest Python version (#242)
* readthedocs: Add search ranking and use latest Python version Add a ranking which search results should pop up first (proposed docs/source > ema_workbench/examples > ema_workbench > everything else > all models). See https://docs.readthedocs.io/en/stable/config-file/v2.html#search Also always use latest stable Python version. * docs: sphinx-rtd-theme as optional dep, specify needs_sphinx - Set sphinx-rtd-theme as optional docs dependency - Specify needs_sphinx and needs_extensions in the conf.py configuration file (see https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-needs_sphinx) * Update .readthedocs.yaml Try something else to set the docs requirements * Update .readthedocs.yaml * readthedocs-sphinx-ext update * Attempt to fix search by using requirements.txt * Add general requirements to docs * docs: conf.py: Implement search workaround Implement a workaround to get search working again readthedocs/sphinx_rtd_theme#1452 (comment) --------- Co-authored-by: Jan Kwakkel <j.h.kwakkel@tudelft.nl>
- Loading branch information
Showing
4 changed files
with
40 additions
and
8 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
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Docs requirements | ||
sphinx>=6 | ||
sphinx_rtd_theme>=1.2 | ||
readthedocs-sphinx-search>=0.3 | ||
nbsphinx | ||
myst | ||
pyscaffold | ||
myst-parser | ||
|
||
# General requirements | ||
numpy | ||
pandas | ||
scikit-learn | ||
salib>=1.4.6 | ||
platypus-opt | ||
matplotlib | ||
statsmodels | ||
seaborn | ||
tqdm |
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
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