Add URLs to Chinese translations of the PostgreSQL documentation.
authorJonathan S. Katz <jonathan.katz@excoventures.com>
Wed, 23 Oct 2019 22:20:45 +0000 (18:20 -0400)
committerJonathan S. Katz <jonathan.katz@excoventures.com>
Wed, 23 Oct 2019 22:20:45 +0000 (18:20 -0400)
pgweb/util/contexts.py
templates/docs/index.html

index 8b8dc6b275b0c4bfec8753f95be07b8724a36c10..fbf00365334ba352e573ac4c513d1c1a70270fe2 100644 (file)
@@ -30,6 +30,7 @@ sitenav = {
         {'title': 'Documentation', 'link': '/docs/'},
         {'title': 'Manuals', 'link': '/docs/manuals/', 'submenu': [
             {'title': 'Archive', 'link': '/docs/manuals/archive/'},
+            {'title': 'Chinese', 'link': 'http://www.postgres.cn/docs'},
             {'title': 'French', 'link': 'https://docs.postgresql.fr/'},
             {'title': 'Japanese', 'link': 'http://www.postgresql.jp/document/'},
             {'title': 'Russian', 'link': 'https://postgrespro.ru/docs/postgresql'},
index b36984d0cb126c42d8efaf43ea01fd1af47ec3b9..55d894c1ed0af8a5ba750cede352039b2a19b297 100644 (file)
@@ -28,6 +28,7 @@
         <dt>Translated Manuals</dt>
         <dd>
             <ul>
+              <li><a href="http://www.postgres.cn/docs" target="_blank">Chinese</a></li>
               <li><a href="http://docs.postgresql.fr" target="_blank">French</a></li>
               <li><a href="http://www.postgresql.jp/document/" target="_blank">Japanese</a></li>
               <li><a href="https://postgrespro.ru/docs/postgresql" target="_blank">Russian</a></li>