permacomputing

Source repository for the main permacomputing wiki site
git clone http://git.permacomputing.net/repos/permacomputing.git # read-only access
Log | Files | Refs

commit f2dec1cbef09151e4082a8aeb0871b53da9d2f13
parent 181cb5fee879b02565acc094fba190aff0b0ea8e
Author: ugrnm <ugrnm@web>
Date:   Mon, 13 Jun 2022 15:48:18 +0200

empty web commit

Diffstat:
Mcloning.mdwn | 11++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/cloning.mdwn b/cloning.mdwn @@ -26,7 +26,16 @@ HTML rendering With the markdown source files you can also easily turn them into a local HTML static web site for offline browsing. To do that you need to [install ikiwiki](https://ikiwiki.info/download/). -test again + ikiwiki --rebuild --wikiname permacomputing --verbose /path/git/permacomputing /path/permacomputing-html + +But that's not all! + +If you call ikiwiki directly to generate HTML files to browse locally you will be disapointed as ikiwiki links points to folder in which an index.html will be found. This is fine for an HTTP server as most will default sending the index.html to the browser upon folder URL request. However, if you browse locally, the web browser will display the content of the folder instead. Making navigation super annoying. This script to be run everytime a new static version is built will fix all the href to actually point to the index.html instead of pointing to the folder. + + /path/git/permacomputing/_tools/fix_local_files.sh /path/permacomputing-html + +Now you can point your browser to <code>/path/permacomputing-html/index.html</code> and enjoy read only offline access to the wiki. + You don't have access to git ============================