This project contains the sources for all documentation on Freon. More
information for those who develop the content of this repository can be found in
the folder /developer-documentation
.
During development, you can use the following commands.
# Install dependencies
npm install
# Get the example code from github
npm run install-examples
# create the website from the Markdown content
npm run buildSite
# create the website and serve it on localhost:3000
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
Note that during 'buildSite' a number of warnings are given: "failed to load language css", and "failed to load language javascript". These cannot be helped, because they are due to a bug in mdsvex, see https://github.com/pngwn/MDsveX/issues/719.
See https://www.okupter.com/blog/deploy-sveltekit-website-to-github-pages
When the website has been created, it must be build using the following commands.
# make sure this command has run
npm run buildSite
# create the website in the directory 'build'
npm run build
# preview the website
npm run preview
During development the latter two commands can be exchanged by the following command.
# build and serve the website
npm run dev
Note: preview should not be used to serve your website in production.
In de docs folder: