From 3e614e66f591da7f6bf7e8533ad0ba8a80a68e29 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Thu, 7 Mar 2024 13:59:29 +0530 Subject: [PATCH] Scaffold a few pages --- docs/docs/.vitepress/sidebar.ts | 20 +++++++++++++++++++- docs/docs/about/contribute.md | 13 +++++++++++++ docs/docs/index.md | 14 ++++++++++++++ 3 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 docs/docs/about/contribute.md create mode 100644 docs/docs/index.md diff --git a/docs/docs/.vitepress/sidebar.ts b/docs/docs/.vitepress/sidebar.ts index 8f2d556f42..1bfabc652c 100644 --- a/docs/docs/.vitepress/sidebar.ts +++ b/docs/docs/.vitepress/sidebar.ts @@ -1,7 +1,25 @@ // When adding new pages, they need to manually inserted into their appropriate // place here if you wish them to also appear in the sidebar. -export const sidebar = []; +export const sidebar = [ + { + text: "Photos", + collapsed: true, + items: [ + { + text: "Features", + }, + ], + }, + { + text: "About", + link: "/about/", + }, + { + text: "Contribute", + link: "/about/contribute", + }, +]; function sidebarOld() { return [ diff --git a/docs/docs/about/contribute.md b/docs/docs/about/contribute.md new file mode 100644 index 0000000000..8217fb5076 --- /dev/null +++ b/docs/docs/about/contribute.md @@ -0,0 +1,13 @@ +--- +title: Contribute +description: Details about how to contribute to Ente's docs +--- + +To contribute to these docs, you can use the "Edit this page" button at the +bottom of each page. This will allow you to directly edit the markdown file that +is used to generate this documentation and open a quick pull request directly +from GitHub's UI. + +If you're more comfortable in contributing with your text editor, see the +`docs/` folder of our GitHub repository, +[github.com/ente-io/ente](https://github.com/ente-io/ente). diff --git a/docs/docs/index.md b/docs/docs/index.md new file mode 100644 index 0000000000..4b4a382e35 --- /dev/null +++ b/docs/docs/index.md @@ -0,0 +1,14 @@ +--- +title: Home +--- + +Hello. This site contains documentation and help for Ente Photos and Ente Auth. +It describes various features, and also offers various troubleshooting +suggestions. + +Use the **sidebar menu** to navigate to information about the product (Photos or +Auth) you'd like to know more about. Or the **search** at the top to try and +jump directly to page that might contain the information you need. + +To know more about Ente, see [about](/about/) or visit our website +[ente.io](https://ente.io).