Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
New Documentation!
For TopCord V3.
  • Loading branch information
ElectricReality committed Feb 17, 2021
1 parent 6982f69 commit 2256f2b
Show file tree
Hide file tree
Showing 30 changed files with 40,321 additions and 314 deletions.
3 changes: 3 additions & 0 deletions .gitignore
@@ -0,0 +1,3 @@
node_modules
public
.cache
8 changes: 8 additions & 0 deletions Dockerfile
@@ -0,0 +1,8 @@
FROM node:latest
# Create app directory
WORKDIR /usr/src/app
COPY . .
RUN npm install -g gatsby-cli
RUN npm install
RUN npm run build
CMD [ "npm", "run", "serve" ]
21 changes: 21 additions & 0 deletions LICENSE
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2021 TopCord

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
9 changes: 3 additions & 6 deletions README.md
@@ -1,9 +1,6 @@
# Home

Documentation for TopCord's systems and API.
Hello there! Welcome to the Documentation repository!
Suggesting any edits? Feel free to send in a pull request and we'll get into it!

## Navigation
- [Home](/README.md)
- [API](API.md)
- [TopCord Bot](Bot.md)
- [Submit](Submit.md)
Running on Gatsby Rocket Docs!
1 change: 0 additions & 1 deletion docs/.nojekyll

This file was deleted.

115 changes: 0 additions & 115 deletions docs/API.md

This file was deleted.

56 changes: 0 additions & 56 deletions docs/Bot.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/CNAME

This file was deleted.

3 changes: 0 additions & 3 deletions docs/README.md

This file was deleted.

55 changes: 0 additions & 55 deletions docs/Submit.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/_sidebar.md

This file was deleted.

40 changes: 0 additions & 40 deletions docs/index.html

This file was deleted.

51 changes: 51 additions & 0 deletions gatsby-config.js
@@ -0,0 +1,51 @@
module.exports = {
siteMetadata: {
siteTitle: `TopCord Documentation`,
defaultTitle: `TopCord Documentation`,
siteTitleShort: `TopCord Docs`,
siteDescription: `Documentation for TopCord's systems and API.`,
siteUrl: `https://docs.topcord.xyz`,
siteAuthor: `@topcord`,
siteImage: `/banner.png`,
siteLanguage: `en`,
themeColor: `#C880B7`,
basePath: `/`,
},
plugins: [
{
resolve: `@rocketseat/gatsby-theme-docs`,
options: {
configPath: `src/config`,
docsPath: `src/docs`,
githubUrl: `https://github.com/rocketseat/gatsby-themes`,
baseDir: `examples/gatsby-theme-docs`,
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Rocketseat Gatsby Themes`,
short_name: `RS Gatsby Themes`,
start_url: `/`,
background_color: `#ffffff`,
display: `standalone`,
icon: `static/favicon.png`,
},
},
`gatsby-plugin-sitemap`,
{
resolve: `gatsby-plugin-google-analytics`,
options: {
// trackingId: ``,
},
},
`gatsby-plugin-remove-trailing-slashes`,
{
resolve: `gatsby-plugin-canonical-urls`,
options: {
siteUrl: `https://docs.topcord.xyz`,
},
},
`gatsby-plugin-offline`,
],
};

0 comments on commit 2256f2b

Please sign in to comment.