diff --git a/custom_theme/img/favicon.ico b/custom_theme/img/favicon.ico new file mode 100644 index 0000000000..19b2de71d1 Binary files /dev/null and b/custom_theme/img/favicon.ico differ diff --git a/custom_theme/main.html b/custom_theme/main.html new file mode 100644 index 0000000000..cb4a6cd1a0 --- /dev/null +++ b/custom_theme/main.html @@ -0,0 +1,10 @@ +{% extends "base.html" %} + +{% block footer %} +
+ + {% if config.copyright %} +

{{ config.copyright }}

+ {% endif %} +
+{% endblock %} \ No newline at end of file diff --git a/docs/css/extra.css b/docs/css/extra.css new file mode 100644 index 0000000000..140069e3ff --- /dev/null +++ b/docs/css/extra.css @@ -0,0 +1,20 @@ +/* https://stackoverflow.com/questions/23211695/modifying-content-width-of-the-sphinx-theme-read-the-docs + +and https://github.com/readthedocs/sphinx_rtd_theme/issues/295 + +*/ +.wy-nav-content { + max-width: none !important; +} + + +/* and fix wrap bug per https://rackerlabs.github.io/docs-rackspace/tools/rtd-tables.html */ +.wy-table-responsive table td { + /* !important prevents the common CSS stylesheets from overriding + this as on RTD they are loaded after this stylesheet */ + white-space: normal !important; +} + +.wy-table-responsive { + overflow: visible !important; +} \ No newline at end of file diff --git a/docs/img/favicon.ico b/docs/img/favicon.ico new file mode 100644 index 0000000000..19b2de71d1 Binary files /dev/null and b/docs/img/favicon.ico differ diff --git a/docs/img/lens-logo-icon.svg b/docs/img/lens-logo-icon.svg new file mode 100644 index 0000000000..ede39244e5 --- /dev/null +++ b/docs/img/lens-logo-icon.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + diff --git a/mkdocs.yml b/mkdocs.yml index 2778beaca9..f669285c94 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,12 +1,21 @@ -site_name: Test docs -site_description: 'A docs test' -site_author: '' +site_name: Lens Extensions +site_description: Lens Extensions Documentation for Lens IDE. The only system you’ll ever need to take control of your Kubernetes clusters. It's open source and free. Download it today! +site_author: Mirantis, Inc. +site_url: https://docs.k8slens.dev docs_dir: docs/ -repo_name: 'lensapp/lens' -repo_url: 'https://github.com/lensapp/lens' +repo_name: GitHub +repo_url: https://github.com/lensapp/lens +copyright: Copyright © 2020 Mirantis Inc. - All rights reserved. +edit_uri: "" nav: - Overview: index.md - Get Started: - Your First Extension: your_first_extension.md theme: name: 'readthedocs' + highlightjs: true + language: 'en' + custom_dir: custom_theme + +extra_css: + - css/extra.css \ No newline at end of file