Skip to content

Commit db5c87e

Browse files
OriolAbriltwiecki
andauthored
Update navbar (#5830)
* start updating navbar * get navbar and redirects to work * make search bar return the same results from all websites * update requirements * remove search bar from sidebar * fix urls and add extra page * Update .pre-commit-config.yaml Co-authored-by: Thomas Wiecki <[email protected]>
1 parent 1e7d91f commit db5c87e

15 files changed

+127
-240
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ repos:
7979
types: [python]
8080
language: pygrep
8181
- id: no-internal-links
82-
name: Check no internal links are in the docs
82+
name: Check no links that should be cross-references are in the docs
8383
description: >-
8484
'A quick check for the links in the intersphinx '
8585
'mapping inside `docs/source/`'
@@ -96,13 +96,16 @@ repos:
9696
404.md|
9797
contributing/release_checklist.md|
9898
contributing/developer_guide.rst|
99+
contributing/versioned_vs_gallery_explanation.md|
99100
learn/examples.md)
100101
entry: >
101102
(?x)(arviz-devs.github.io|
103+
python.arviz.org|
102104
aesara.readthedocs.io|
103105
aeppl.readthedocs.io|
104106
pymc-experimental.readthedocs.io|
105107
docs.pymc.io|
108+
www.pymc.io|
106109
numpy.org/doc|
107110
pymc-examples.readthedocs.io|
108111
myst-parser.readthedocs.io|

conda-envs/environment-dev-py37.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ dependencies:
2929
- sphinx-copybutton
3030
- sphinx-notfound-page
3131
- sphinx>=1.5
32+
- sphinxext-rediraffe
3233
- typing-extensions>=3.7.4
3334
- watermark
3435
- pip:

conda-envs/environment-dev-py38.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ dependencies:
2929
- sphinx-copybutton
3030
- sphinx-notfound-page
3131
- sphinx>=1.5
32+
- sphinxext-rediraffe
3233
- typing-extensions>=3.7.4
3334
- watermark
3435
- pip:

conda-envs/environment-dev-py39.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ dependencies:
2929
- sphinx-copybutton
3030
- sphinx-notfound-page
3131
- sphinx>=1.5
32+
- sphinxext-rediraffe
3233
- typing-extensions>=3.7.4
3334
- watermark
3435
- pip:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<b>{{ version }}</b> |
1+
<b>{{ version }}</b>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<form class="bd-search d-flex align-items-center" action="https://www.pymc.io/search.html" method="get">
2+
<i class="icon fas fa-search"></i>
3+
<input type="search" class="form-control" name="q" id="search-input" placeholder="{{ _(theme_search_bar_text) }}" aria-label="{{ theme_search_bar_text }}" autocomplete="off" >
4+
</form>

docs/source/community.md

Lines changed: 0 additions & 44 deletions
This file was deleted.

docs/source/community/calendar.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

docs/source/community/code_of_conduct.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/source/community/how_to_ask_on_discourse.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)