docs: fix build after removal of json schemas
This commit is contained in:
parent
90575b076e
commit
d9b62a373d
3 changed files with 3 additions and 8 deletions
|
@ -20,7 +20,6 @@ test:docs:
|
||||||
- apt update && apt install build-essential
|
- apt update && apt install build-essential
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
- pip install -U sphinx sphinx-press-theme sphinx-jsonschema
|
- pip install -U sphinx sphinx-press-theme sphinx-jsonschema
|
||||||
- pushd scripts && DISABLE_METRICS=true python update_schemas.py && popd
|
|
||||||
- pushd docs && DISABLE_METRICS=true sphinx-build -b html . ../public && popd
|
- pushd docs && DISABLE_METRICS=true sphinx-build -b html . ../public && popd
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
|
- if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
|
||||||
|
|
|
@ -17,9 +17,6 @@ Create and activate a virtual environment with:
|
||||||
python -m venv env
|
python -m venv env
|
||||||
. env/bin/activate
|
. env/bin/activate
|
||||||
|
|
||||||
You will need to install an entry into the portal user's crontab:
|
You will need to install an entry into the portal user's crontab::
|
||||||
|
|
||||||
.. code-block:: crontab
|
|
||||||
|
|
||||||
*/1 * * * * (cd /path/to/portal ; /path/to/env/bin/python -m app.cli automate --all) &>/dev/null
|
*/1 * * * * (cd /path/to/portal ; /path/to/env/bin/python -m app.cli automate --all) &>/dev/null
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ builtins.__sphinx_build__ = True
|
||||||
# -- Project information -----------------------------------------------------
|
# -- Project information -----------------------------------------------------
|
||||||
|
|
||||||
project = 'Bypass Censorship Portal'
|
project = 'Bypass Censorship Portal'
|
||||||
copyright = '2021-2022 SR2 Communications Limited'
|
copyright = '2021-202r SR2 Communications Limited'
|
||||||
author = 'Bypass Censorship'
|
author = 'Bypass Censorship'
|
||||||
|
|
||||||
|
|
||||||
|
@ -19,7 +19,6 @@ author = 'Bypass Censorship'
|
||||||
# ones.
|
# ones.
|
||||||
extensions = [
|
extensions = [
|
||||||
'sphinx.ext.autodoc',
|
'sphinx.ext.autodoc',
|
||||||
'sphinx-jsonschema'
|
|
||||||
]
|
]
|
||||||
|
|
||||||
# Add any paths that contain templates here, relative to this directory.
|
# Add any paths that contain templates here, relative to this directory.
|
||||||
|
@ -36,7 +35,7 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
|
||||||
# The theme to use for HTML and HTML Help pages. See the documentation for
|
# The theme to use for HTML and HTML Help pages. See the documentation for
|
||||||
# a list of builtin themes.
|
# a list of builtin themes.
|
||||||
#
|
#
|
||||||
html_theme = 'press'
|
html_theme = 'alabaster'
|
||||||
|
|
||||||
# Add any paths that contain custom static files (such as style sheets) here,
|
# Add any paths that contain custom static files (such as style sheets) here,
|
||||||
# relative to this directory. They are copied after the builtin static files,
|
# relative to this directory. They are copied after the builtin static files,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue