Update docs website

This commit is contained in:
Pranav Raj Sreepuram 2019-09-22 15:37:18 +05:30
parent 814cda499c
commit a9b0eb3c15
6 changed files with 19 additions and 8 deletions

View file

@ -1,6 +1,6 @@
<!-- docs/_sidebar.md --> <!-- docs/_sidebar.md -->
* [Home](/) * [Home](/)
* [Ubuntu Installation Guide](development/environment-setup/ubuntu.md) * [Development Guide](development/environment-setup/ubuntu.md)
* [Project Dependencies](development/project-setup/dependencies.md) * [Project Dependencies](development/project-setup/dependencies.md)
* [Environment Variables](development/project-setup/environment-variables.md) * [Environment Variables](development/project-setup/environment-variables.md)

View file

@ -1,4 +1,4 @@
## Setting up development environment in Ubuntu ## Ubuntu
Open a terminal and run the following commands Open a terminal and run the following commands

View file

@ -1,6 +1,4 @@
## Project dependencies ### Install Ruby dependencies
### Install Chatwoot Ruby dependencies
Use the following command to install ruby dependencies. Use the following command to install ruby dependencies.
@ -8,7 +6,7 @@ Use the following command to install ruby dependencies.
bundle bundle
``` ```
### Install Chatwoot JavaScript dependencies ### Install JavaScript dependencies
```bash ```bash
yarn yarn

View file

@ -1,5 +1,3 @@
## Environment variables
### Setup environment variables ### Setup environment variables
Copy `database` and `application` variables to the correct location. Copy `database` and `application` variables to the correct location.

View file

@ -7,6 +7,7 @@
<meta name="description" content="Description"> <meta name="description" content="Description">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css"> <link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">
<link rel="stylesheet" href="styles.css">
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>
@ -15,6 +16,9 @@
name: 'Chatwoot', name: 'Chatwoot',
repo: 'chatwoot/chatwoot', repo: 'chatwoot/chatwoot',
loadSidebar: true, loadSidebar: true,
subMaxLevel: 4,
notFoundPage: true,
logo: '.github/woot-logo.svg'
} }
</script> </script>
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script> <script src="//unpkg.com/docsify/lib/docsify.min.js"></script>

11
docs/styles.css Normal file
View file

@ -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;
}