Skip to content

Commit 141ab41

Browse files
Merge pull request #3150 from verilog-to-routing/fix_docs_search
Fix docs search
2 parents e62e8ff + 4b59a9f commit 141ab41

File tree

4 files changed

+16
-13
lines changed

4 files changed

+16
-13
lines changed

doc/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
#Sphinx
22
_build
3+
.venv

doc/README

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,22 @@ Currently VTR's documenation is automatically built by https://readthedocs.org/p
1414
How to build documentation
1515
--------------------------
1616

17-
To build the documentation locally you need sphinx installed:
17+
To build the documentation locally you need to to install Doxygen (Optional) and the python dependencies. You can use your distribution's package manager to install Doxygen. Ubuntu and Debian users can use the following command:
1818

19-
For ubuntu/debian based systems:
19+
$ sudo apt install doxygen
2020

21-
$ apt-get install python-sphinx
21+
While Fedora and RHEL users can use the following command:
2222

23-
To properly build citations and the bibliography, we use the sphinxcontrib-bibtex extension:
23+
$ sudo dnf install doxygen
2424

25-
$ pip install sphinxcontrib-bibtex
25+
You can install python dependencies by fist optionally making a virtual environment:
2626

27-
To install all the python requirements:
27+
$ python -m venv .venv
28+
$ source .venv/bin/activate
2829

29-
$ pip install -r requirements.txt
30+
And then using the requirements file to install the dependencies:
31+
32+
$ pip install -r requirements.txt
3033

3134
To build the documentation just run:
3235

doc/requirements.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
# used by Read The Docs to install python required
33
# modules with pip.
44

5-
sphinx<7
5+
# Pinned sphinx's version to avoid breakage in future
6+
sphinx == 8.2.3
67
sphinx_rtd_theme
78

89
# Support custom domains
9-
sphinxcontrib-domaintools
10+
git+https://github.com/AmirhosseinPoolad/sphinxcontrib-domaintools
1011

1112
# Support Markdown
1213
sphinx-markdown-tables

doc/src/conf.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@
6767
master_doc = "index"
6868

6969
project = "Verilog-to-Routing"
70-
copyright = "2012-2022, VTR Developers"
70+
copyright = "2012-2025, VTR Developers"
7171
author = "VTR Developers"
7272

7373
version = get_vtr_version()
7474
release = get_vtr_release()
7575

76-
language = None
76+
language = "en"
7777

7878
exclude_patterns = ["_build"]
7979

@@ -87,8 +87,6 @@
8787

8888
html_theme = "sphinx_rtd_theme"
8989

90-
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
91-
9290
html_logo = "_static/vtr_logo.svg"
9391

9492
html_favicon = "_static/favicon.ico"

0 commit comments

Comments
 (0)