Mercurial > piecrust2
annotate docs/templates/inc/nav-items.html @ 1188:a7c43131d871
bake: Fix file write flushing problem with Python 3.8+
Writing the cache files fails in Python 3.8 because it looks like flushing
behaviour has changed. We need to explicitly flush. And even then, in very
rare occurrences, it looks like it can still run into racing conditions,
so we do a very hacky and ugly "retry" loop when fetching cached data :(
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 15 Jun 2021 22:36:23 -0700 |
parents | e135fd873c45 |
children |
rev | line source |
---|---|
1053
94d7d5e38571
docs: Upgrade to Bootstrap 4 and Sass.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
1 <ul class="navbar-nav ml-auto"> |
94d7d5e38571
docs: Upgrade to Bootstrap 4 and Sass.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
2 <li class="nav-item"><a class="nav-link{% if page.nav_key == 'tutorial' %} active{% endif %}" href="{{ pcurl('getting-started') }}">Getting Started</a></li> |
1084
e135fd873c45
docs: Cosmetic improvements to the navigation bar.
Ludovic Chabant <ludovic@chabant.com>
parents:
1053
diff
changeset
|
3 <li class="nav-item"><a class="nav-link{% if page.nav_key == 'docs' %} active{% endif %}" href="{{ docurl('') }}">Documentation</a></li> |
e135fd873c45
docs: Cosmetic improvements to the navigation bar.
Ludovic Chabant <ludovic@chabant.com>
parents:
1053
diff
changeset
|
4 <li class="nav-item"><a class="nav-link{% if page.nav_key == 'code' %} active{% endif %}" href="{{ apiurl('') }}">Code</a></li> |
1053
94d7d5e38571
docs: Upgrade to Bootstrap 4 and Sass.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
5 <li class="nav-item"><a class="nav-link{% if page.nav_key == 'support' %} active{% endif %}" href="{{ pcurl('support') }}">Support</a></li> |
94d7d5e38571
docs: Upgrade to Bootstrap 4 and Sass.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
6 </ul> |