From a9b0eb3c15e6f6f3192aa191419e79aa8c5a2917 Mon Sep 17 00:00:00 2001 From: Pranav Raj Sreepuram Date: Sun, 22 Sep 2019 15:37:18 +0530 Subject: [PATCH] Update docs website --- docs/_sidebar.md | 2 +- docs/development/environment-setup/ubuntu.md | 2 +- docs/development/project-setup/dependencies.md | 6 ++---- .../project-setup/environment-variables.md | 2 -- docs/index.html | 4 ++++ docs/styles.css | 11 +++++++++++ 6 files changed, 19 insertions(+), 8 deletions(-) create mode 100644 docs/styles.css diff --git a/docs/_sidebar.md b/docs/_sidebar.md index 9c297d7ddfab..aefcfbb939be 100644 --- a/docs/_sidebar.md +++ b/docs/_sidebar.md @@ -1,6 +1,6 @@ * [Home](/) -* [Ubuntu Installation Guide](development/environment-setup/ubuntu.md) +* [Development Guide](development/environment-setup/ubuntu.md) * [Project Dependencies](development/project-setup/dependencies.md) * [Environment Variables](development/project-setup/environment-variables.md) diff --git a/docs/development/environment-setup/ubuntu.md b/docs/development/environment-setup/ubuntu.md index 4b0eaf10279c..3e0d652d764d 100644 --- a/docs/development/environment-setup/ubuntu.md +++ b/docs/development/environment-setup/ubuntu.md @@ -1,4 +1,4 @@ -## Setting up development environment in Ubuntu +## Ubuntu Open a terminal and run the following commands diff --git a/docs/development/project-setup/dependencies.md b/docs/development/project-setup/dependencies.md index f751c75141c2..a84e2953f372 100644 --- a/docs/development/project-setup/dependencies.md +++ b/docs/development/project-setup/dependencies.md @@ -1,6 +1,4 @@ -## Project dependencies - -### Install Chatwoot Ruby dependencies +### Install Ruby dependencies Use the following command to install ruby dependencies. @@ -8,7 +6,7 @@ Use the following command to install ruby dependencies. bundle ``` -### Install Chatwoot JavaScript dependencies +### Install JavaScript dependencies ```bash yarn diff --git a/docs/development/project-setup/environment-variables.md b/docs/development/project-setup/environment-variables.md index 196faf49efbd..563239aa076b 100644 --- a/docs/development/project-setup/environment-variables.md +++ b/docs/development/project-setup/environment-variables.md @@ -1,5 +1,3 @@ -## Environment variables - ### Setup environment variables Copy `database` and `application` variables to the correct location. diff --git a/docs/index.html b/docs/index.html index 2d8735beb736..e1976b8fa884 100644 --- a/docs/index.html +++ b/docs/index.html @@ -7,6 +7,7 @@ +
@@ -15,6 +16,9 @@ name: 'Chatwoot', repo: 'chatwoot/chatwoot', loadSidebar: true, + subMaxLevel: 4, + notFoundPage: true, + logo: '.github/woot-logo.svg' } diff --git a/docs/styles.css b/docs/styles.css new file mode 100644 index 000000000000..08d7cdbe1e9d --- /dev/null +++ b/docs/styles.css @@ -0,0 +1,11 @@ +html, body { + font-family: Avenir, -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif +} + +.app-name-link img { + max-width: 60%; +} + +.markdown-section pre > code { + font-family: Monaco; +}