diff --git a/mkdocs.yml b/mkdocs.yml index 5ce471f52d0..8a8984a9f09 100755 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -13,11 +13,9 @@ edit_uri: 'edit/v3.1.0/docs-2.0/' # Configuration theme: name: material - custom_dir: material - static_templates: - - 404.html + custom_dir: overrides logo: 'https://cloud-cdn.nebula-graph.com.cn/vesoft-nebula-logo-white.png' - favicon: 'icon/favicon.ico' + favicon: 'assets/images/favicon.ico' # Change color in `stylesheets > extra.css` palette: - scheme: nebula diff --git a/overrides/404.html b/overrides/404.html new file mode 100644 index 00000000000..0d1c0f4cdb0 --- /dev/null +++ b/overrides/404.html @@ -0,0 +1,15 @@ + +{#- + This file was automatically generated - do not edit + -#} + {% extends "main.html" %} + {% block content %} +
欢迎点击原文档右上角的编辑按钮修复失效链接,并成为contributor
+你还可以:
+ + + + {% endblock %} + {% block disqus %}{% endblock %} \ No newline at end of file diff --git a/overrides/content.html b/overrides/content.html new file mode 100644 index 00000000000..43f60b20421 --- /dev/null +++ b/overrides/content.html @@ -0,0 +1,16 @@ + + +{% if page.meta.source %} +