Skip to content

Commit 784e701

Browse files
committed
Aligne with latest ScanCode TK updates
Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent 2f77f97 commit 784e701

File tree

2 files changed

+21
-4
lines changed

2 files changed

+21
-4
lines changed

docs/source/conf.py

+17-3
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,28 @@
1818
# -- Project information -----------------------------------------------------
1919

2020
project = "nexb-skeleton"
21-
copyright = "nexb Inc."
22-
author = "nexb Inc."
21+
copyright = "nexB Inc. and others."
22+
author = "AboutCode.org authors and contributors"
2323

2424

2525
# -- General configuration ---------------------------------------------------
2626

2727
# Add any Sphinx extension module names here, as strings. They can be
2828
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
2929
# ones.
30-
extensions = []
30+
extensions = [
31+
'sphinx.ext.intersphinx',
32+
]
33+
34+
# This points to aboutcode.readthedocs.io
35+
# In case of "undefined label" ERRORS check docs on intersphinx to troubleshoot
36+
# Link was created at commit - https://github.com/nexB/aboutcode/commit/faea9fcf3248f8f198844fe34d43833224ac4a83
37+
38+
intersphinx_mapping = {
39+
'aboutcode': ('https://aboutcode.readthedocs.io/en/latest/', None),
40+
'scancode-workbench': ('https://scancode-workbench.readthedocs.io/en/develop/', None),
41+
}
42+
3143

3244
# Add any paths that contain templates here, relative to this directory.
3345
templates_path = ["_templates"]
@@ -50,6 +62,8 @@
5062
# so a file named "default.css" will overwrite the builtin "default.css".
5163
html_static_path = ["_static"]
5264

65+
master_doc = 'index'
66+
5367
html_context = {
5468
"css_files": [
5569
"_static/theme_overrides.css", # override wide tables in RTD theme

pyproject.toml

+4-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ norecursedirs = [
3535
"tmp",
3636
"venv",
3737
"tests/data",
38-
".eggs"
38+
".eggs",
39+
"src/*/data",
40+
"tests/*/data"
3941
]
4042

4143
python_files = "*.py"
@@ -46,5 +48,6 @@ python_functions = "test"
4648
addopts = [
4749
"-rfExXw",
4850
"--strict-markers",
51+
"--ignore setup.py",
4952
"--doctest-modules"
5053
]

0 commit comments

Comments
 (0)