Freon-documentation Svelte Themes

Freon Documentation

Documentation sources for the Freon Language Workbench

Freon Documentation

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.

Developing

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.

Creating a documentation website

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.

Publishing

In de docs folder:

  • Check whether the .nojekyll file is there, to avoid GitHub from doing stuff that breaks the site.
  • Check whether the CNAME file with www.freon4dsl.dev is there

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes