xref: /aosp_15_r20/external/bazelbuild-rules_python/sphinxdocs/tests/sphinx_stardoc/conf.py (revision 60517a1edbc8ecf509223e9af94a7adec7d736b8)
1# Configuration file for the Sphinx documentation builder.
2#
3# For the full list of built-in configuration values, see the documentation:
4# https://www.sphinx-doc.org/en/master/usage/configuration.html
5
6# -- Project info
7
8project = "Sphinx Stardoc Test"
9
10extensions = [
11    "sphinx_bzl.bzl",
12    "myst_parser",
13    "sphinx.ext.intersphinx",
14]
15
16myst_enable_extensions = [
17    "fieldlist",
18    "attrs_block",
19    "attrs_inline",
20    "colon_fence",
21    "deflist",
22    "substitution",
23]
24
25# --- Stardoc configuration
26
27bzl_default_repository_name = "@testrepo"
28
29# --- Intersphinx configuration
30
31intersphinx_mapping = {
32    "bazel": ("https://bazel.build/", "bazel_inventory.inv"),
33}
34