From 7ad13d8f61f647ad5b13dd125c009881740274c0 Mon Sep 17 00:00:00 2001 From: lishaohui Date: Mon, 11 Apr 2022 15:17:59 +0800 Subject: [PATCH] build pg --- README.md | 1 + public/index.html | 4 ++-- public/page-sitemap.xml | 2 +- public/robots.txt | 3 ++- public/sitemap.xml | 10 +++++++--- sitemap-merge.js | 3 ++- 6 files changed, 15 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 649668c..8ea4a14 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,7 @@ npm run build - [Spring 中文文档](https://gitcode.net/dev-cloud/spring/) - [MySQL 中文文档](https://gitcode.net/dev-cloud/mysql/) +- [PostgreSql 中文文档](https://gitcode.net/dev-cloud/pg/) --- > 感谢模版 [http://carlos-algms.github.io/](http://carlos-algms.github.io/) \ No newline at end of file diff --git a/public/index.html b/public/index.html index d86ab2c..af2a274 100644 --- a/public/index.html +++ b/public/index.html @@ -15,8 +15,8 @@ - - + + diff --git a/public/page-sitemap.xml b/public/page-sitemap.xml index 2abf153..4ae6484 100644 --- a/public/page-sitemap.xml +++ b/public/page-sitemap.xml @@ -11,7 +11,7 @@ https://docs.gitcode.net/ - 2022-04-02T10:34:44.684Z + 2022-04-11T07:14:34.916Z weekly 0.8 diff --git a/public/robots.txt b/public/robots.txt index 41f856b..e5ec076 100644 --- a/public/robots.txt +++ b/public/robots.txt @@ -3,4 +3,5 @@ Allow:/ Sitemap: https://docs.gitcode.net/sitemap.xml Sitemap: https://docs.gitcode.net/spring/guide/sitemap.xml -Sitemap: https://docs.gitcode.net/mysql/guide/sitemap.xml \ No newline at end of file +Sitemap: https://docs.gitcode.net/mysql/guide/sitemap.xml +Sitemap: https://docs.gitcode.net/pg/guide/sitemap.xml \ No newline at end of file diff --git a/public/sitemap.xml b/public/sitemap.xml index f18520a..f59e61a 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -2,14 +2,18 @@ https://docs.gitcode.net/page-sitemap.xml - 2022-04-02T10:34:44.684Z + 2022-04-11T07:14:34.916Z https://docs.gitcode.net/spring/guide/sitemap.xml - "2022-04-02T10:35:15.590Z" + "2022-04-11T07:17:07.388Z" https://docs.gitcode.net/mysql/guide/sitemap.xml - "2022-04-02T10:35:15.591Z" + "2022-04-11T07:17:07.388Z" + + + https://docs.gitcode.net/pg/guide/sitemap.xml + "2022-04-11T07:17:07.388Z" \ No newline at end of file diff --git a/sitemap-merge.js b/sitemap-merge.js index 90670f3..7ff80da 100644 --- a/sitemap-merge.js +++ b/sitemap-merge.js @@ -9,7 +9,8 @@ const robot_path = "./public/robots.txt" const allowed_sitemaps = [ 'https://docs.gitcode.net/spring/guide/sitemap.xml', - 'https://docs.gitcode.net/mysql/guide/sitemap.xml' + 'https://docs.gitcode.net/mysql/guide/sitemap.xml', + 'https://docs.gitcode.net/pg/guide/sitemap.xml' ] -- GitLab