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. It uses SvelteKit.

Developing

During development, you can use the following commands.

# Install dependencies
npm install

# 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

Creating a documentation website

Create the website and browse through it.

# Install dependencies
npm install

# Get the code, which will be embedded in the content, from a number of example projects 
npm install-examples

# create the website from the Markdown content
npm run buildSite

# create the website in the directory 'docs'
npm run build

# preview the website
npm run preview

Note: sometimes you need to set the line separators to CRLF - Windows to get the embedded code correctly into the pages.

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