See Jekyll Also uses just-the-docks theme from https://pmarsceill.github.io/just-the-docs/
To use local config run:
$ bundle exec jekyll serve --config _config_local.yml
Remember to set the GitHub Pages setting in repo settings.
Use main
branch and /(root)
folder to create the pages content.
Do not select theme from the settings. The theme is configured in _ config.yml file with config
remote_theme: pmarsceill/just-the-docs