Additional details on the Docusaurus project can be found here.
#
git clone https://github.com/litmuschaos/litmus-docs.git
cd litmus-docs
The docs website server can be setup manually or through docker compose
The embedded code will be extracted from the file at URL
, which can either be a relative path to a file in the local file system (using forward slashes as directory separator) or a URL starting with http://
or https://.
Installation:
go install github.com/campoy/embedmd@latest
Run embedmd (needs to be done before committing the changes):
cd website/docs
embedmd -w $(find **/*.md)
Check the difference:
embedmd -d docs-name.md
will display the difference between the contents of docs-name.md and the output of embedmd docs-name.md.cd website
npm install
npm start
sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose up
http://localhost:3000/docs/next/getstarted.html