-
Notifications
You must be signed in to change notification settings - Fork 10
Webpage Maintenance
The website for the project is currently hosted in: https://www.weso.es/rdfshape-api/. It is a React webpage automatically generated by Docusaurus.
Pushes to the main branch trigger an automatic re-build and re-publish of the page with the latest changes (if any). This is done with the following GitHub action.
The website contents are located:
- Inside the website folder: Docusaurus configuration files, React pages, header/footer/sidebar contents, etc.
- Inside the docs folder: Markdown files, first processed by mdoc and eventually by Docusaurus to create the Web Docs.
In order to create new pages, create a JS file inside website/src/pages for Docusaurus to be aware of its existence and assign them a URL based on their location inside the pages folder.
Create new pages using markdown syntax inside the docs folder. These pages will be processed by mdoc and assigned a URL inside /docs
by docusaurus when running the task docs/docusaurusCreateSite
from SBT.
In order to use mdoc in combination with docusaurus, this guide was followed. However, minor issues occurred:
- The package.json had to be modified to include the script
publish-gh-pages
. - The Docusaurus config file had to be modified to indicate what the location of the markdown files with the web docs is.
WESO Research Group - See RDFShape API's webpage