Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BREAKING CHANGE: implement docusaurus #144

Open
wants to merge 151 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
151 commits
Select commit Hold shift + click to select a range
9f3e6d3
BREAKING CHANGE: implement docusaurus
jinhojang6 Jun 1, 2023
c8e6206
update preset to 1.0.0-alpha.4
jinhojang6 Jun 1, 2023
8a15f69
add jenkinsfile
serhanwbahar Jun 1, 2023
d947102
fix a typo
jinhojang6 Jun 2, 2023
99cfb19
update preset and content
jinhojang6 Jun 2, 2023
aed3567
update showcase logos
jinhojang6 Jun 2, 2023
0f69654
upgrade logos preset
jeangovil Jun 2, 2023
38f0c92
ci: fix conditional for devel publishing
jakubgs Jun 5, 2023
0aa3043
upgrade logos preset
jeangovil Jun 5, 2023
9cf5246
upgrade logos preset
jeangovil Jun 5, 2023
7b657ed
upgrade logos preset
jeangovil Jun 5, 2023
b87ebd2
upgrade logos preset
jeangovil Jun 6, 2023
a40ee82
upgrade logos preset
jeangovil Jun 7, 2023
85dbbd1
upgrade logos preset
jeangovil Jun 7, 2023
70f5096
upgrade logos preset
jeangovil Jun 7, 2023
7ff63a7
upgrade logos preset
jeangovil Jun 9, 2023
154c848
update terms content
jinhojang6 Jun 9, 2023
8f12475
upgrade logos preset
jeangovil Jun 12, 2023
0b9d6ad
make hero cta outlined (#145)
jinhojang6 Jun 12, 2023
ab62334
update footer (#146)
jinhojang6 Jun 14, 2023
1f5eea1
feat: upgrade logos preste && replace hero model with a pre-rendered …
jeangovil Jul 4, 2023
238ff84
chore: upgrade logos preste
jeangovil Jul 4, 2023
094ea9b
update the hero video
jeangovil Jul 6, 2023
e04fd6f
fix: remove placeholder logo from Showcase
jinhojang6 Jul 7, 2023
6c83e0a
Upgrade preset & fix a bug with Showcase logo placeholder (#147)
jinhojang6 Jul 10, 2023
ef4d89e
chore: upgrade the logos preset
jeangovil Jul 10, 2023
18d4e76
chore: upgrade the logos preset
jeangovil Jul 10, 2023
d38f7d6
chore: upgrade the logos preset
jeangovil Jul 11, 2023
1b8f58c
feat: enable og image generator
jeangovil Jul 11, 2023
bc4e0da
chore: upgrade the logos preset
jeangovil Jul 11, 2023
e64635a
Merge branch 'docu-2023' of https://github.com/status-im/nimbus-site …
jinhojang6 Jul 12, 2023
ac51288
chore: move to a new tab when opening an external link
jinhojang6 Jul 12, 2023
599f43a
feat: update subpages copy
jinhojang6 Jul 13, 2023
7d94241
chore: update subpage order
jinhojang6 Jul 13, 2023
f05ca69
feat: update hero copy
jinhojang6 Jul 13, 2023
c9f07e4
refactor: update CTA section
jinhojang6 Jul 13, 2023
3606572
Update index.mdx
jeangovil Jul 13, 2023
7e60cd8
chore: use British English
jinhojang6 Jul 14, 2023
c74c988
chore: update showcase
jeangovil Jul 17, 2023
84d7e9b
chore: update copy
jinhojang6 Jul 17, 2023
3abe06e
chore: update subheader
jinhojang6 Jul 17, 2023
b1fdc0e
chore: upgrade logos preset
jeangovil Jul 17, 2023
6f4d186
upgrade logos preset
jeangovil Jul 17, 2023
ca952a2
upgrade logos preset
jeangovil Jul 17, 2023
9d830a5
chore: update footer link
jinhojang6 Jul 17, 2023
e6c8d5f
chore: add doc pages
jeangovil Jul 17, 2023
4386714
chore: upgrade logos preset
jeangovil Jul 17, 2023
84de9d0
chore: update landing page metadata
jeangovil Jul 17, 2023
d52d163
feat: add profile cards section
jinhojang6 Oct 6, 2023
89c6a37
chore: remove cta and description from ProfileCards
jinhojang6 Oct 9, 2023
bf6aa94
chore: remove team section
jinhojang6 Oct 19, 2023
5dbfb2a
style: use system theme by default
jinhojang6 Nov 28, 2023
7473a8c
chore: upgrade preset version
jinhojang6 Dec 4, 2023
a08a5d9
feat: update landing page
jinhojang6 Dec 4, 2023
27a99bb
feat: enable jobs
jinhojang6 Dec 4, 2023
6187cb3
Update index.mdx (#155)
Amelia7689 Dec 12, 2023
ebe49e8
Update index.md (#156)
Amelia7689 Dec 12, 2023
27d1a24
chore: update landing page copy and design
jeangovil Dec 14, 2023
1baf509
fix: disable breadcrumbs in the about docs
jeangovil Dec 14, 2023
68e0bad
chore: update the donation CTA button link
jeangovil Dec 14, 2023
bae0348
chore: add the FAQs page
jeangovil Dec 14, 2023
ae88a73
remove the "Description and Architecture" page
jeangovil Dec 15, 2023
d2219f0
fix: hide the TOCs on the about/ pages
jeangovil Dec 15, 2023
070c5a2
chore: add the community page
jeangovil Dec 15, 2023
c6ea241
fix: update the navbar links
jeangovil Dec 15, 2023
23f4eb7
chore: add the /about/clients page
jeangovil Dec 15, 2023
ab832eb
chore: update landing page copy
jeangovil Dec 15, 2023
56dc963
fix discord invitation links
jeangovil Dec 15, 2023
bdd3143
update landing page copy
jeangovil Dec 15, 2023
3d8912a
chore: upgrade @acid-info/logos-docusaurus-preset
jeangovil Dec 15, 2023
e761dd2
update index.mdx
jeangovil Dec 15, 2023
9108dfd
fix: landing page design adjustments
jeangovil Dec 15, 2023
4fc0d79
chore: upgrade @acid-info/logos-docusaurus-preset
jeangovil Dec 15, 2023
d46fc22
chore: add brand guideline to footer
jinhojang6 Dec 18, 2023
39e3c96
Update index.mdx (#157)
Amelia7689 Dec 18, 2023
8d0a8b3
Update index.md (#158)
Amelia7689 Dec 18, 2023
076505a
Update index.mdx
jeangovil Dec 18, 2023
d6365c5
chore: change brand guidelines position in footer
jinhojang6 Dec 19, 2023
07e8a71
chore: upgrade @acid-info/logos-docusaurus-preset
jeangovil Dec 20, 2023
de7ef2b
update index.mdx
jeangovil Dec 20, 2023
3a68972
Update index.mdx
Amelia7689 Dec 20, 2023
1efe978
Update clients.md (#160)
Amelia7689 Dec 20, 2023
bff58d0
Add link to the nimbus `guide`
amirhouieh Dec 20, 2023
73be831
chore: remove unnecessary target="_blank"
jinhojang6 Dec 20, 2023
672ad0a
update the list of Nimbus users
jeangovil Dec 20, 2023
412d862
Fix link to join us page
amirhouieh Dec 21, 2023
483693d
chore: update the roadmap timeline
jeangovil Dec 22, 2023
45876d9
Update index.mdx (#162)
Amelia7689 Dec 22, 2023
6519da1
chore: update logo image
jeangovil Dec 22, 2023
a7bf86b
Revert "chore: update logo image"
jeangovil Dec 22, 2023
0766105
chore: upgrade @acid-info/logos-docusaurus-preset
jeangovil Dec 22, 2023
1257635
chore: upgrade @acid-info/logos-docusaurus-preset
jeangovil Dec 22, 2023
61628dc
Update index.mdx (#163)
Amelia7689 Dec 22, 2023
8b08e5a
chore: update team
jinhojang6 Jan 17, 2024
ee87308
chore: change from roadmap to timeline
jinhojang6 Jan 17, 2024
c203eb9
chore: upgrade @acid-info/logos-docusaurus-preset
jeangovil Jan 17, 2024
a77fed6
feat: implement custom style for nimbus
jinhojang6 Feb 7, 2024
c2947e9
chore: update text content
jinhojang6 Feb 7, 2024
1d659e2
Update index.mdx
ops187 Feb 8, 2024
1e1fc1a
feat: implement new design
jinhojang6 Feb 14, 2024
9676adb
chore: adjust max width
jinhojang6 Feb 14, 2024
5baaeb5
fix: fix design issues
jinhojang6 Feb 14, 2024
5a96a2d
chore: copy and package updates
jinhojang6 Feb 15, 2024
d79ac55
feat: reflect design update requests
jinhojang6 Feb 15, 2024
d99ed99
chore: cusotm footer margin
jinhojang6 Feb 15, 2024
141cfca
chore: footer margin adjustment
jinhojang6 Feb 15, 2024
1797cf2
chore: update preset version
jinhojang6 Feb 15, 2024
58f2f55
chore: upgrade preset
jinhojang6 Feb 16, 2024
8c189d1
chore: upgrade preset
jinhojang6 Feb 19, 2024
128527f
chore: upgrade preset
jinhojang6 Feb 19, 2024
ca544a1
Update index.mdx
ops187 Feb 22, 2024
8a9bf5e
chore: fix build errors
jinhojang6 Feb 22, 2024
8ea222c
style: update styles based on latest design
jinhojang6 Feb 22, 2024
92740f7
chore: update donate button style
jinhojang6 Feb 22, 2024
1ced43f
chore: update donate button style
jinhojang6 Feb 22, 2024
d20c3e2
chore: update mobile design
jinhojang6 Feb 22, 2024
752f3df
Update index.mdx
liftlines Feb 24, 2024
45cd648
Consensus client description
liftlines Feb 25, 2024
7aa173f
docs: update copy
Amelia7689 Feb 28, 2024
e003921
docs: update content as per request
jinhojang6 Feb 28, 2024
e4c1497
docs: add contributor_guide and libraries
jinhojang6 Feb 28, 2024
510ec0b
feat: implement hero-image at high-level
jinhojang6 Mar 12, 2024
221fe94
chore: adjust cloud size
jinhojang6 Mar 13, 2024
5f53d3f
chore: adjust hero z-index
jinhojang6 Mar 13, 2024
df9bbc1
chore: update hero image
jinhojang6 Mar 13, 2024
3ed16d8
chore: adjust cloud margin
jinhojang6 Mar 13, 2024
fb68267
chore: update cloud rotation
jinhojang6 Mar 15, 2024
184695d
chore: upgrade preset version
jinhojang6 Mar 19, 2024
53b3cbd
chore: upgrade preset
jinhojang6 Mar 28, 2024
18f3fb4
chore: upgrade preset version
jinhojang6 Apr 3, 2024
21957c7
Update contributor_guide.md
Amelia7689 Apr 11, 2024
42ce47f
Update roadmap.md
Amelia7689 Apr 11, 2024
3e71be5
docs: update team.md
jinhojang6 Apr 12, 2024
9dd8358
chore: upgrade preset
jinhojang6 Apr 15, 2024
df633b7
chore: add id to root-pages
jinhojang6 Apr 15, 2024
fe0e1a1
feat: add robots.txt
jinhojang6 Apr 15, 2024
ee4a93d
chore: update formListId
jinhojang6 Apr 15, 2024
25e5401
chore: update metadata
jinhojang6 Apr 15, 2024
d5f5e02
Update community.mdx
Amelia7689 Apr 16, 2024
de37a55
docs: update terms and privacy policy
jinhojang6 Apr 17, 2024
2df911b
chore: update hero image
jinhojang6 Apr 17, 2024
1414526
chore: update team
jinhojang6 Apr 17, 2024
dd81f82
chore: add team members
jinhojang6 Apr 17, 2024
a5e01c1
chore: update hero asset
jinhojang6 Apr 18, 2024
1c91658
Update clients.md
Amelia7689 Apr 18, 2024
815a283
Update clients.md
Amelia7689 Apr 18, 2024
29b8809
chore: update privacy policy
jinhojang6 Apr 18, 2024
d8cbd5e
chore: update footer
jinhojang6 Apr 19, 2024
c549fc8
chore: update faq
jinhojang6 Apr 22, 2024
6c6daf2
chore: refine faq
jinhojang6 Apr 22, 2024
6d0da60
style: style updates for faq
jinhojang6 Apr 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

10 changes: 0 additions & 10 deletions .eslintrc

This file was deleted.

79 changes: 22 additions & 57 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,61 +1,26 @@
.DS_Store
.idea/
node_modules/
*.log
db.json
.deploy*/
package-lock.json
public/

# Composer
/vendor
composer.phar

# IntelliJ - PhpStorm and PyCharm
*.ipr
*.iws

# Eclipse
/.project
/.settings
/.classpath

# Logs
logs
error.log
access.log
# Dependencies
/node_modules

# Netbeans
nbproject
.nbproject
.nbproject/*
nbproject/*
nbproject/private/
/nbbuild/
/nbdist/
nbactions.xml
nb-configuration.xml
# Production
/build

# Thumbnails
._*
# Files that might appear on external disk
.Spotlight-V100
.Trashes

# SublimeText project files
/*.sublime-project
*.sublime-workspace

# Dart
packages
packages/*

# Vagrant
.vagrant
.vagrant/*
# Generated files
.docusaurus
.cache-loader

# Misc
.DS_Store
.env

# built assets
themes/navy/source/js/vendor.js
themes/navy/source/js/vendor.js.map
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
.yalc
yalc.lock
.idea

static/search-index.json
2 changes: 2 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
5 changes: 5 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

# yarn prettier:staged
yarn typecheck
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.mdx
*.md
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"trailingComma": "all"
}
50 changes: 23 additions & 27 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,55 +11,51 @@ pipeline {
}

environment {
GIT_USER = 'status-im-auto'
GIT_MAIL = '[email protected]'
/* Dev site deployment. */
DEV_SITE = 'dev.nimbus.team'
DEV_HOST = '[email protected]'
SCP_OPTS = 'StrictHostKeyChecking=no'
GIT_COMMITTER_NAME = 'status-im-auto'
GIT_COMMITTER_EMAIL = '[email protected]'
PROD_SITE = 'nimbus.team'
DEV_SITE = 'dev.nimbus.team'
DEV_HOST = '[email protected]'
SCP_OPTS = 'StrictHostKeyChecking=no'
}

stages {

stage('Install Deps') {
stage('Install') {
steps {
sh 'yarn install'
sh "yarn install"
}
}

stage('Build') {
steps {
sh 'yarn run clean'
sh 'yarn run build'
sh 'yarn build'
sh "echo ${env.PROD_SITE} > build/CNAME"
}
}

stage('Robot') {
when { expression { !GIT_BRANCH.endsWith('master') } }
steps { script {
sh 'echo "Disallow: /" >> public/robots.txt'
} }
}

stage('Publish Prod') {
when { expression { GIT_BRANCH.endsWith('master') } }
steps { script {
when { expression { env.GIT_BRANCH ==~ /.*master/ } }
steps {
sshagent(credentials: ['status-im-auto-ssh']) {
sh 'yarn run deploy'
sh "ghp-import -p build"
}
} }
}
}

stage('Publish Devel') {
when { expression { !GIT_BRANCH.endsWith('master') } }
steps { script {
when { expression { env.GIT_BRANCH !=~ /.*master/ } }
steps {
sshagent(credentials: ['jenkins-ssh']) {
sh """
rsync -e 'ssh -o ${SCP_OPTS}' -r --delete public/. \
${env.DEV_HOST}:/var/www/${env.DEV_SITE}/
rsync -e 'ssh -o ${SCP_OPTS}' -r --delete build/. \
${env.DEV_HOST}:/var/www/${env.DEV_SITE}/
"""
}
} }
}
}
}

post {
cleanup { cleanWs() }
}
}
7 changes: 0 additions & 7 deletions LICENSE

This file was deleted.

78 changes: 46 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,46 @@
# Nimbus Site

This repo holds the code for two sites:

* [nimbus.team](https://nimbus.team) - From `master`, built in [CI](https://ci.infra.status.im/job/website/job/nimbus.team/), served from `gh-pages`
* [dev.nimbus.team](https://dev.nimbus.team) - From `develop`, built in [CI](https://ci.infra.status.im/job/website/job/dev.nimbus.team/), serverd from dev host

There is an `edit` button on each page, which will take you directly to the document you need to edit on the `develop` branch.

The recommended flow is to create a PR against `develop`. We can then allow a large group of people to push directly to `develop` and show their changes on the staging site when asking for review, which should smooth out and speed up the process considerably for everyone. `master` is obviously protected, and will only have changes merged in from `develop` once accepted.

N.B. make sure you've set up [signed commits](https://docs.github.com/en/github/authenticating-to-github/signing-commits) before submitting a PR (this repository requires all commits to be signed).

## Adding a New Page

If you want to add a page, rather than just edit, you'll need to make sure it appears on the sidebar and is accessible to everyone.

1. Add your page to `source/docs/<your_file_here>.md`
2. In `source/_data/sidebars.yml` add the appropriate text to the appropriate place.
3. In `themes/navy/languages/en.yml` edit the sidebars section to make sure that your new text in `sidebars.yml` is rendered correctly.

## Testing locally

Make sure you have [Node.js](https://nodejs.org/) installed first.

1. Open Terminal and navigate to the project root directory,
2. Run `yarn install`
3. Run `yarn build`
4. Run `yarn devel`
5. Open http://localhost:8000 in a browser

This prevents the need for any global installs, and allows you to live reload any changes you make.
- [Description](#description)
- [How to Run Locally](#how-to-run-locally)
- [Configuration](#configuration)
- [Customization](#customization)

## Description

This repository contains the content of your documentation website.

## How to Run Locally

1. Clone this repository.
2. Install the dependencies:
```bash
$ yarn
```
3. Start and open the website in your browser:
```bash
$ yarn start
```

## Configuration
Edit the `docusaurus.config.js` file in the repository's root directory, and update the value of the `businessUnit` field in presets section; below is a list of valid values:
- Logos
- Codex
- Waku

Example:
```js
presets: [
[
'@acid-info/logos-docusaurus-preset',
{
businessUnit: 'Codex',
},
],
],
```

This is probably enough in most cases, as the Logos plugins will fill in other configurations related to the specified business unit. If you find any error in the information coming from Logos Plugins, please head over to [Logos Docusaurus Plugins](https://github.com/acid-info/logos-docusaurus-plugins) and create an issue.

## Customization

You can find the instructions on adding more documentation sections, localization, and versioning on the [Docusaurus](https://docusaurus.io/docs) website.

> Note that theme customization is limited; for further instructions on customizing your theme, head over to [Logos Docusaurus Theme](https://github.com/acid-info/logos-docusaurus-plugins/tree/main/packages/logos-docusaurus-theme/).
33 changes: 0 additions & 33 deletions _config.dev.yml

This file was deleted.

33 changes: 0 additions & 33 deletions _config.prod.yml

This file was deleted.

Loading