How to update code.kx.com with the contents of this repo.
You will need SSH access to the code.kx.com server. (Consult the Chief Technical Officer.)
Follow instructions at mkdocs.org. This may entail installing Python and pip
.
Follow instructions at squidfunk.github.io/mkdocs-material/
Follow instructions at facelessuser.github.io/pymdown-extensions/
Standard GitHub procedures – whichever of them work for you
As a MkDocs project
Bringing the site to life on your local machine (follow MkDocs instructions)
Edit MDs and mkdocs.yml; and manage assets such as PDFs and PNGs
For export: mkdocs build --clean
In my home folder /home/stephen
on the server:
$ sudo cp -r /var/www/q .
$ sudo chmod -R stephen:stephen q
On my local machine:
$ rsync -ruv --delete site/ [email protected]:/home/stephen/q/
On the server:
$ sudo chmod -R www-data:www-data q
$ sudo mv /var/www/q archive/q0 && sudo mv q /var/www
In my home folder I keep in folder archive
the last several versions of /var/www/q
. In the example above the previous version is saved as q0
– substitute your own naming scheme.
I keep working notes on my latest changes in done.md
$ git commit -a -F done.md
$ git push origin master
The procedure can be adapted for updating code.kx.com/q4m3. The source for this is not on GitHub but in a private repository shared with the author, Jeffry Borror.