Skip to content

Commit 7cc40a4

Browse files
authored
Merge pull request #6 from code-server-boilerplates/andreijirohhalilidev2006/feat-replace-5
Yeets Yarn and Smooth DOC for npmjs and Rocket Docs theme
2 parents bb02326 + 6dcd694 commit 7cc40a4

19 files changed

+20557
-56401
lines changed

.gitignore

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
# Created by https://www.toptal.com/developers/gitignore/api/node,yarn,visualstudiocode
3-
# Edit at https://www.toptal.com/developers/gitignore?templates=node,yarn,visualstudiocode
3+
# Edit at https://www.toptal.com/developers/gitignore?templates=node,visualstudiocode
44

55
### Node ###
66
# Logs
@@ -104,7 +104,7 @@ dist/
104104
.cache/
105105
# Comment in the public line in if your project uses Gatsby and not Next.js
106106
# https://nextjs.org/blog/next-9-1#public-directory-support
107-
#public
107+
public
108108

109109
# vuepress build output
110110
.vuepress/dist
@@ -141,20 +141,4 @@ temp/
141141
.history
142142
.ionide
143143

144-
### yarn ###
145-
# https://yarnpkg.com/advanced/qa#which-files-should-be-gitignored
146-
147-
.yarn/*
148-
!.yarn/releases
149-
!.yarn/plugins
150-
!.yarn/sdks
151-
!.yarn/versions
152-
153-
# if you are NOT using Zero-installs, then:
154-
# comment the following lines
155-
!.yarn/cache
156-
157-
# and uncomment the following lines
158-
# .pnp.*
159-
160-
# End of https://www.toptal.com/developers/gitignore/api/node,yarn,visualstudiocode
144+
# End of https://www.toptal.com/developers/gitignore/api/node,visualstudiocode

.pnp.js

Lines changed: 0 additions & 36645 deletions
This file was deleted.

.yarnrc.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Code Server Boilerplate Docs
22

3-
![Build Status](https://build-status-ci-thepinsteam.vercel.app/api/code-server-boilerplates/docs?style=flat-square)
3+
[![Build Status](https://build-status-ci-thepinsteam.vercel.app/api/code-server-boilerplates/docs?style=flat-square)](https://csb-docs.community-lores.gq)
44
[![GitHub](https://img.shields.io/github/license/code-server-boilerplates/docs?logo=github&style=flat-square)](/LICENSE)
55
[![GitHub issues](https://img.shields.io/github/issues-raw/code-server-boilerplates/docs?logo=github&style=flat-square)](https://github.com/code-server-boilerplates/docs/issues)
66
[![Maintenance](https://img.shields.io/maintenance/yes/2021?label=Did%20Michael%20still%20maintains%20this%3F&style=flat-square)](https://rtapp.tk/bshq-abandon-the-children)
@@ -13,13 +13,13 @@ _Just an side note: we customized the badges, even the maintenance status. Don't
1313

1414
* GitHub as the single source of truth for filing issues and PRs for contributors
1515
* On our side, it mostly Guilded + Discord + whatever you want to use (bridged through Matrix and will probably handled by Matterbridge soon), GitLab SaaS + GitHub and Notion.
16-
* Gatsby with the [smooth-doc theme](https://smooth-doc.com) for building great site
16+
* Gatsby with the [Rocket Docs theme](https://rocketdocs.netlify.app) for building great site
1717
* Vercel as static page hosting on `csb-docs.community-lores.gq` (we lied in the repo description like Linus)
1818

19-
While both Community Lores and Code Server Boilerplates are seperate projects we're working on and lives on seperate GitHub organizations, we use Netlify DNS to manage the DNS records for `community-lores.gq` domain. If you wish to buy the `lores.community` yourself and handle the domain registration stuff, [let us know](https://community-lores.gq/contact) so we can tell you what to do next.
19+
While both [Community Lores](https://community-lores.gq) and [Code Server Boilerplates](https://github.com/code-server-boilerplates) are seperate projects we're working on and lives on seperate GitHub organizations, we use Netlify DNS to manage the DNS records for `community-lores.gq` domain. If you wish to buy the `lores.community` yourself and handle the domain registration stuff, [let us know](https://madebythepins.tk/contact) so we can tell you what to do next.
2020

2121
## License
2222

23-
Licensed under the MIT License, Copyright © 2021-present The Pins Team and docs contributors..
23+
Licensed under the MIT License, Copyright © 2021-present The Pins Team and docs contributors.
2424

2525
See [LICENSE](./LICENSE) for more information.

dependabot.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

gatsby-config.js

Lines changed: 30 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,37 @@
1+
// remind me to change it to main as branch renames may happen
2+
// in case you're not on Verceljust prefix it when running npm scripts with VERCEL_GIT_COMMIT_REF=beta npm run <script-name>
3+
const gitBranch = process.env.VERCEL_GIT_COMMIT_REF || "master";
4+
15
module.exports = {
6+
flags: {
7+
// Only enable experimental flags at your own risk.
8+
DEV_SSR: true,
9+
PRESERVE_WEBPACK_CACHE: true,
10+
PRESERVE_FILE_DOWNLOAD_CACHE: true,
11+
FAST_DEV: true,
12+
},
13+
siteMetadata: {
14+
siteTitle: `Code Server Boilerplates Docs | The Pins Team`,
15+
defaultTitle: `Code Server Boilerplates Docs | The Pins Team`,
16+
siteTitleShort: `Code Server Boilerplates Docs`,
17+
siteDescription: `Official docs for maintaining deploy-code-server-like templates for maintainers and usage for usual users.`,
18+
siteUrl: `https://csb-docs.community-lores.gq`, // will be csb-docs.lores.community soon
19+
siteAuthor: `The Pins Team and Docs contributors`,
20+
//siteImage: `/banner.png`,
21+
siteLanguage: `en`,
22+
themeColor: `#8257E6`,
23+
basePath: `/`,
24+
},
225
plugins: [
326
{
4-
resolve: "smooth-doc",
27+
resolve: `@rocketseat/gatsby-theme-docs`,
528
options: {
6-
name: "Code Server Boilerplates Docs",
7-
description: "Documentation website for the Code Server Boilerplates project.",
8-
siteUrl: "https://csb-docs.community-lores.gq",
9-
10-
// for the GH icon at the top
11-
githubRepositoryURL: "https://github.com/code-server-boilerplates/starter-pack",
12-
// for the edit link in docs
13-
githubDocRepositoryURL: "https://github.com/code-server-boilerplates/docs",
14-
baseDirectory: __dirname,
15-
16-
// navigation stuff
17-
navItems: [{ title: "Get started", url: "/choose-your-path/"}],
18-
sections: [ "Starter Pack", "User's Manual", "For Maintainers", "Reference", "Documentation Contributors Zone" ],
29+
basePath: `/`,
30+
configPath: `src/config`,
31+
docsPath: `src/docs`,
32+
repositoryUrl: `https://github.com/code-server-boilerplates/docs`,
33+
baseDir: `/`,
34+
branch: gitBranch,
1935
},
2036
},
2137
],

0 commit comments

Comments
 (0)