content here
This project uses Yarn as package manager
npm install --global yarnAdditionally, a version of Node.js that is >= 14 is required for compatibility with Docusarus. If your Node.js version is < 14 you can download the latest Node.js version from the Node.js download page.
To run this project, you will need to add the following environment variables to your .env.local file
- None at the moment
Clone the project
git clone https://github.com/AI-READI/ai-readi-docs.gitGo to the project directory
cd ai-readi-docsInstall dependencies
yarn installStart the server
yarn devYou can use the version script to create a new documentation version based on the latest content in the docs directory. That specific set of documentation will then be preserved and accessible even as the documentation in the docs directory changes moving forward.
Ideally, you should create a new branch and update the relevant pages. Then send a PR with @megasanjay or @bvhpatel on the review page.
Only do these steps after all changes to the documentation for the specific version have been completed:
- Make sure the current docs version (the
docsdirectory) is ready to be frozen. - Update the
versionkey in package.json for this repository.
yarn run docusaurus docs:version 2This will freeze the current version of the documentation. The files under the current docs directory will be considered to be Upcoming 🚧 version.
Use this step to build a local production version of the site. Use serve to preview the local build.
yarn build
yarn serveYou will not need to do anything to the hosted site. Continuous Delivery has been setup with Azure Static Web Apps. All you need to do is push your commit and wait for it to deploy.
Contributions are always welcome!
See contributing.md for ways to get started.
Please read the Code of Conduct
-
Can I make changes to previous versions of the documentation?
- Yes, you can make changes to previous versions of the documentation. You can do this by creating a new branch and adding your changes directly in the
versioned_docsdirectory.
- Yes, you can make changes to previous versions of the documentation. You can do this by creating a new branch and adding your changes directly in the
Distributed under the MIT License. See LICENSE for more information.
Contact us on Twitter: @fairdataihub
Send us an E-mail: [email protected]
This project is funded by the NIH under award number 1OT2OD032644. The content is solely the responsibility of the authors and does not necessarily represent the official views of the NIH.
