This repository demonstrates using Docusaurus to author and host the FDC3 website and documentation, based on markdown files.
- Try out Docusaurus
- Host on GitHub Pages
- Attempt to apply styling and assets from https://fdc3.finos.org to this website
- Copy docs from other FDC3 repositories into this single repository
- Setup CI
- Copy code/examples from other FDC3 repositories
- Add docs from use cases
- Integrate OpenAPI docs for app directory (redoc?)
- Integrate generated TS docs for API
- API reference (postponing)
- Intent reference
- Versioning
- About page
- Community page
- Extra documentation content
- Tutorial content (after 1.0)
- FINOS/Working group info
- Finalise styling and assets
- GitHub README must adhere to FINOS standard
- Present to PMC
For more detail, see the FINOS FDC3 1.0 Release Public Launch Documentation Sub-Plan.
The included example website was generated by following the Docusaurus installation steps.
The repository follows the standard Docusaurus website structure. For more information, see Creating your site. Propose to move the working group github sites under the same structure to simplify
root-directory
├── docs
└── website
├── blog
├── core
│ └── Footer.js
├── package.json
├── pages
├── sidebars.json
├── siteConfig.js
└── static
└── src
├── api
├── app-directory
├── context
├── intents
└── examples
├── context
├── intents
-
Navigate to the
website
folder:cd website
-
Install pre-requisites (first time only)
yarn
-
Run the local web server:
yarn start
-
Navigate to the website: http://localhost:3000
The following properties were added to website/siteConfig.js
:
const siteConfig = {
url: 'https://rikoe.github.io',
baseUrl: '/FDC3/',
projectName: 'FDC3',
organizationName: 'rikoe'
}
To publish the website, follow this steps:
-
Navigate to the
website
folder:cd website
-
Publish:
GIT_USER=<GIT_USER> USE_SSH=true yarn run publish-gh-pages
This will publish to the gh-pages
branch of the repository, which will automatically be hosted on GitHub Pages.
The CI build is hosted on Travis CI at https://travis-ci.com/rikoe/FDC3. When new changes are committed to master
, Travis will automatically deploy an updated version of the website to GitHub Pages.
For full documentation about publishing Docusaurus websites, see Publishing your site.
For more information about GitHub Pages, see GitHub's FAQ.