diff --git a/mkdocs.yml b/mkdocs.yml index 95b6dc189f2..f9fabca41ad 100755 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -13,9 +13,9 @@ edit_uri: 'edit/v3.1.0/docs-2.0/' theme: name: material - custom_dir: material + 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' palette: - scheme: nebula toggle: diff --git a/overrides/404.html b/overrides/404.html new file mode 100644 index 00000000000..f1a4be591d7 --- /dev/null +++ b/overrides/404.html @@ -0,0 +1,15 @@ + +{#- + This file was automatically generated - do not edit + -#} + {% extends "main.html" %} + {% block content %} +

Sorry, the page is invalid...

+ +

Click the edit button in the upper right corner of the original document to fix the invalid link and become a contributor.

+

You can also:

+

Submit an issue about the invalid link.

+

Return to the previous page.

+

Return to the home page.

+ {% endblock %} + {% block disqus %}{% endblock %} 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 %} + +{% endif %} + +{{ page.content }} + +{% if page.meta.git_revision_date_localized %} + Last update: {{ page.meta.git_revision_date_localized }} +{% endif %}