Skip to content

Commit a90e00f

Browse files
committed
Fix URL path for documentation links in base template and router
1 parent f8e0d3d commit a90e00f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

events/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
path('api/query/', ResolveQueryView.as_view(), name='api_query'),
4040
path('api/', include(router.urls)),
4141
path('globals/', edit_global_context, name='globals'),
42-
path('docs/<str:manual>/<str:filename>', docs, name='docs'),
42+
path('doc/<str:manual>/<str:filename>', docs, name='docs'),
4343
path('ingress/<str:index>/<str:source>/<str:sourcetype>/', ingress, name='ingress'),
4444
path('', index, name='index'),
4545
]

templates/project/base.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ <h1>Delve
3636
<div class="col-md-5 p-lg-5 mx-auto my-5">
3737
<h1 class="display-4 font-weight-normal">Delve</h1>
3838
<p class="lead font-weight-normal">: A portable tool to shine a light on your data.</p>
39-
<a class="btn btn-outline-primary" href="/docs/admin/index.md">Admin Manual</a>
40-
<a class="btn btn-outline-primary" href="/docs/user/index.md">User Manual</a>
39+
<a class="btn btn-outline-primary" href="/doc/admin/index.md">Admin Manual</a>
40+
<a class="btn btn-outline-primary" href="/doc/user/index.md">User Manual</a>
4141
<a class="btn btn-outline-secondary" href="/explore">Explore</a>
4242
</div>
4343
</div>

0 commit comments

Comments
 (0)