Skip to content

Commit e916d73

Browse files
committed
fix(conf): update links and cleanup process in configuration
1 parent c7b37b5 commit e916d73

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

docs/conf.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@
5151

5252
shutil.copytree('../images/', './_static/logos/', dirs_exist_ok=True)
5353
shutil.copyfile('../changelog.md', './changelog.md')
54-
shutil.rmtree('./generated', ignore_errors=True)
55-
shutil.rmtree('./_build', ignore_errors=True)
5654

5755
# -- Project information -----------------------------------------------------
5856

@@ -119,9 +117,8 @@
119117

120118
if build_version == 'v2':
121119
announcement = """
122-
<a href="https://brainpy-v2.readthedocs.io" style="text-decoration: none; color: white;">
123-
This site covers the new BrainPy 3.0 API.
124-
<span style="color: lightgray;">[Click here for the classical <b>BrainPy 2.0</b> API]</span>
120+
<a href="https://brainpy.readthedocs.io" style="text-decoration: none; color: white;">
121+
This site covers the old BrainPy 2.0 API. <span style="color: lightgray;">[Explore the new <b>BrainPy 3.0</b> API ✨]</span>
125122
</a>
126123
"""
127124
else:

0 commit comments

Comments
 (0)