Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tjanez/oasis-docs-tests
https://github.com/tjanez/oasis-docs-tests
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/tjanez/oasis-docs-tests
- Owner: tjanez
- Created: 2022-03-11T09:59:24.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-06-07T07:34:19.000Z (over 2 years ago)
- Last Synced: 2024-10-12T12:17:37.493Z (2 months ago)
- Language: JavaScript
- Size: 81.2 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Oasis Docs
This repository contains Oasis Docs deployed at .
They are built using [Docusaurus 2](https://docusaurus.io/), a modern static
website generator.## Installation
Install Node packages with:
```
yarn
```Checkout all Git submodules with:
```
git submodule update --init
```## Local Development
To start the local development server, use:
```
yarn start
```This command will start a local development server and open your browser at
.Most changes will be reflected live without having to restart the server.
## Build
To generate the static site, use:
```
yarn build
```This will generate the static content in the `build` directory. Its contents
can be served using any static content hosting service.## Deployment
Docs will be automatically re-generated and re-deployed once a pull request is
merged into the `main` branch.## Broken Link Checker
Docusaurus already checks all internal links if they are broken.
To check all the links, including the external ones, using a local Oasis Docs
deployment, do the following:1. Set `config.url` parameter in `docusaurus.config.js` to
`'http://localhost:3000/'`.2. Generate the static site using:
```
yarn build
```3. Serve the static site in the `build` directory locally using:
```
yarn serve
```4. Run broken link checker in a new terminal with:
```
yarn blc
```_NOTE: Some external URLs appear to be receiving wrong 200-ish HTTP code despite
opening correctly in the browser. Exclude those links manually from the broken
link checker in `package.json`._