|
24 | 24 | import os |
25 | 25 |
|
26 | 26 | # Define the canonical URL if you are using a custom domain on Read the Docs |
27 | | -html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "") |
| 27 | +html_baseurl = os.environ.get( |
| 28 | + "READTHEDOCS_CANONICAL_URL", |
| 29 | + "https://ox.softwaremill.com/latest/", |
| 30 | +) |
28 | 31 |
|
29 | 32 | # Tell Jinja2 templates the build is running on Read the Docs |
30 | 33 | if os.environ.get("READTHEDOCS", "") == "True": |
|
41 | 44 | # Add any Sphinx extension module names here, as strings. They can be |
42 | 45 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
43 | 46 | # ones. |
44 | | -extensions = ['myst_parser', 'sphinx_rtd_theme'] |
| 47 | +extensions = ['myst_parser', 'sphinx_rtd_theme', 'sphinx_llms_txt'] |
| 48 | + |
| 49 | +llms_txt_title = "Ox" |
| 50 | +llms_txt_summary = "Safe direct-style concurrency and resiliency for Scala on the JVM" |
| 51 | +llms_txt_full_file = True |
45 | 52 |
|
46 | 53 | # Add any paths that contain templates here, relative to this directory. |
47 | 54 | templates_path = ['_templates'] |
|
52 | 59 | # source_suffix = ['.rst', '.md'] |
53 | 60 | source_suffix = { |
54 | 61 | '.rst': 'restructuredtext', |
55 | | - '.txt': 'markdown', |
56 | 62 | '.md': 'markdown', |
57 | 63 | } |
58 | 64 |
|
|
83 | 89 | # List of patterns, relative to source directory, that match files and |
84 | 90 | # directories to ignore when looking for source files. |
85 | 91 | # This patterns also effect to html_static_path and html_extra_path |
86 | | -exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] |
| 92 | +exclude_patterns = [ |
| 93 | + '_build', 'Thumbs.db', '.DS_Store', |
| 94 | + '.venv', 'venv', 'env', |
| 95 | + '**/site-packages/**', |
| 96 | + '**/node_modules/**', |
| 97 | + '_templates', |
| 98 | + 'requirements.txt', |
| 99 | + 'includes/*', |
| 100 | +] |
87 | 101 |
|
88 | 102 | # The name of the Pygments (syntax highlighting) style to use. |
89 | 103 | pygments_style = 'sphinx' |
|
0 commit comments