Skip to content

Repository files navigation

Jik Website

Static website for the Jik programming language.

Local Preview

Open index.html in a browser.

Build Shared Layout

Shared navigation and footer live in src/partials/.

After changing them, run:

node scripts/build-site.js

On Windows PowerShell, this also works:

npm.cmd run build

Update After a Jik Release

After publishing a new Jik release, regenerate the website content:

npm.cmd run update

This updates the generated documentation pages, latest release card, and the package list on packages.html, and the example sources on examples.html. The package list is read from the ## Packages section of the jik-packages README. To test the flow with fixtures:

npm.cmd run update:test

Commit install.html, packages.html, examples.html, and the generated docs/ HTML files after regenerating them.

To refresh just the examples from the compiler repository, run npm.cmd run update:examples. For a local compiler checkout, use node scripts/update-examples.js --source ../jik/examples. All .jik files are included, with new files appearing under "More examples" until grouped in scripts/update-examples.js. Sources are embedded in the page, so browsing works offline and does not need GitHub requests from visitors. The modules example includes both files.

Files

  • index.html - homepage
  • examples.html - generated examples browser
  • examples.js - example selection and copy controls
  • install.html - install instructions and generated latest release card
  • packages.html - official package setup and usage instructions
  • docs/ - generated documentation pages
  • styles.css - site styling
  • script.js - syntax highlighting and examples dropdown
  • assets/ - logo images
  • src/partials/ - shared header and footer
  • scripts/ - build and release generation scripts
  • test/fixtures/ - fake documentation, release, and package data for local testing

About

The Jik website

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages