summaryrefslogtreecommitdiff
path: root/pgweb/docs/struct.py
diff options
context:
space:
mode:
authorJonathan S. Katz2018-11-04 16:34:41 +0000
committerJonathan S. Katz2018-11-05 15:23:41 +0000
commitc95fb76a05d87ca4ffccbce21e4399ab5472ce95 (patch)
tree40e90219481396d330f95d7e9b3d9fcae839f2da /pgweb/docs/struct.py
parent17f9b7f070dbe17b2844a8b4dd428064745dfa60 (diff)
Remove references to the (static|interactive) path to documentation.
While the permanent redirect will fix this over the course of time, it is still better that we do not reference the old path from pgweb.
Diffstat (limited to 'pgweb/docs/struct.py')
-rw-r--r--pgweb/docs/struct.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pgweb/docs/struct.py b/pgweb/docs/struct.py
index 9848812d..87e5635e 100644
--- a/pgweb/docs/struct.py
+++ b/pgweb/docs/struct.py
@@ -30,14 +30,14 @@ def get_struct():
if version >= 10:
version = int(version)
- yield ('docs/%s/static/%s' % (version, filename),
+ yield ('docs/%s/%s' % (version, filename),
testing and 0.1 or docprio, # beta/rc versions always get 0.1 in prio
loaded)
# Also yield the current version urls, with the highest
# possible priority
if version == currentversion.tree:
- yield ('docs/current/static/%s' % filename,
+ yield ('docs/current/%s' % filename,
1.0, loaded)
# For our internal sitemap (used only by our own search engine),
@@ -48,6 +48,6 @@ def get_internal_struct():
curs.execute("SELECT d.file, v.docsloaded FROM docs d INNER JOIN core_version v ON v.tree=d.version WHERE version = 0")
for filename, loaded in curs.fetchall():
- yield ('docs/devel/static/%s' % (filename, ),
+ yield ('docs/devel/%s' % (filename, ),
0.1,
loaded)