Skip to content

Commit 8405cf7

Browse files
chore: change configs and fix redirect links
1 parent 93b693b commit 8405cf7

File tree

5 files changed

+20
-6
lines changed

5 files changed

+20
-6
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
.vscode
22
_build/
3+
.venv

.readthedocs.yaml

+16-1
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,27 @@ build:
55
os: ubuntu-22.04
66
tools:
77
python: "3.11"
8+
jobs:
9+
pre_build:
10+
- make linkcheck
811

912
sphinx:
1013
configuration: conf.py
14+
fail_on_warning: true
1115

1216
formats: all
1317

1418
python:
1519
install:
16-
- requirements: requirements.txt
20+
- requirements: requirements.txt
21+
22+
search:
23+
ignore:
24+
# Custom files to ignore
25+
- genindex.html
26+
27+
# Defaults
28+
- search.html
29+
- search/index.html
30+
- 404.html
31+
- 404/index.html'

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
# You can set these variables from the command line, and also
55
# from the environment for the first two.
6-
SPHINXOPTS ?=
7-
SPHINXBUILD ?= sphinx-build
6+
SPHINXOPTS =
7+
SPHINXBUILD = sphinx-build
88
SOURCEDIR = .
99
BUILDDIR = _build
1010

conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
source_suffix = '.rst'
1111
master_doc = 'index'
1212
language = "en"
13-
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
13+
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', '.venv/*']
1414
html_theme = 'sphinx_rtd_theme'
1515
html_theme_options = {
1616
'prev_next_buttons_location': 'both',

requirements/introduction.rst

-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ their communication relationships.
3131
.. figure:: ../images/security_center_architecture.png
3232
:alt: Architecture of Security Center
3333

34-
`Architecture of Security Center <../_images/security_center_architecture.png>`_
35-
3634
In the figure above, the Security Center – which consists of the Security
3735
Center Frontend and the Security Center Backend – is shown as a single
3836
functional block. Security Center Frontend and Security Center Backend

0 commit comments

Comments
 (0)