=====================
This repository holds the bndtools.org website hosted at https://bndtools.org. This web site is maintained as markdown and turned into HTML by Jekyll using GitHub Pages.
- install ruby 2.7
- call
./run.sh
on the commandline
This should install jekyll and start a local webserver at:
Start editing markdown .md
files. Jekyll will auto-detect changes and reload the website. Some changes require a restart (e.g. changes to _config.yml
)
We use https://pagefind.app/ for our search field full text search.
But it is currently not automatically working when using ./run.sh
above, because it works on the
actual build-output on the _site
folder (which contains the actual .html
pages).
To test the search locally based on the _site
folder content, run:
./run-pagefind-linux.sh
or
run-pagefind-macos.sh
depending on which operating system you are using.
The result should look like:
Serving "_site" at http://localhost:1414
The script will download and execute the pagefind executable binary after the build.
Then it will start a small server where you test the result.
Note, that this is different than the ./run.sh
and does not support real-time editing of the content.
Feel free to adjust / extend the start-scripts if you have a different architecture
or to use a different pagefind
version.
See the files .github/workflows/cibuild.yml
and .github/scripts/docs.sh
for how
building the site and executing pagefind
is done in the final build on github.
- jekyll uses
rouge
code highlighter - see
_config.yml
and sectionsyntax_highlighter_opts
- also see this website https://jekyll-themes.com/brazacz/rouge-themes for examples
- rouge is compatible with and can use 'pygments' styles (see https://pygments.org/styles/)
- these styles can be generated with the command
The following commands locally will help to generate the .css files for the pygment styles:
gem install rouge
# show a list of supported styles
rougify help style
# go to the css folder
cd css
# generate the css
rougify style monokai > monokai.css
Then reference the .css
file in _includes/head.html
Feedback is always welcome. For general discussions use the [email protected] list. We also have the [email protected] list for discussions on the development of bndtools.
Bugs and issues for the https://bndtools.org website should go to https://github.com/bndtools/bndtools.github.io/issues
Want to hack on the bndtools.org website? See CONTRIBUTING.md for information on building, testing and contributing changes.
They are probably not perfect, please let us know if anything feels wrong or incomplete.
The contents of this repository are made available to the public under the terms of the Eclipse Public License v1.0.