~anjan/sxmo.org

0798c149cd8a6e3f0c1b55b0dfade1ed1dbd2744 — Anjandev Momi 28 days ago a5558c5
remove mirror of documentation on website

The mirror was a less functional version of the documentation (rendered well) on
man.sr.ht. As such, we should just remove our mirror as it confuses users and
just link users to the man.sr.ht version. Furthermore, I added a link to the
pmOS edge blog in case the user is running pmOS edge.
5 files changed, 20 insertions(+), 9 deletions(-)

M .gitmodules
M Makefile
D src/docs
A src/docs/index.md
M src/source/index.md
M .gitmodules => .gitmodules +0 -3
@@ 1,3 0,0 @@
[submodule "src/sxmo-docs"]
	path = src/docs
	url = https://git.sr.ht/~anjan/sxmo-docs

M Makefile => Makefile +0 -2
@@ 1,8 1,6 @@
MY_DIR := $(realpath ./)

build:
	[ -e ./src/docs/index.md ] || ln -s $(MY_DIR)/src/docs/README.md $(MY_DIR)/src/docs/index.md # fix index link on docs
	sed 's/(https:\/\/git.sr.ht\/\~mil\/sxmo-docs\/tree\/master/(\/docs/g; s/.md)/.html)/g' -i src/docs/*.md # fix internal links in documentation
	mkdir -p dst
	./ssg6 src dst 'Simple X Mobile' 'https://sxmo.org'
	cp -f src/img/* dst/img/

D src/docs => src/docs +0 -1
@@ 1,1 0,0 @@
Subproject commit fbaf318cd482c5ececc13a07106a3b0855a02f63

A src/docs/index.md => src/docs/index.md +18 -0
@@ 0,0 1,18 @@
# S*x*mo Documentation

The documentation for S*x*mo is available on man.sr.ht.
We have two versions of the documentation.
If you dont know which sxmo version you have, you probably want sxmo-docs (the first link below):

* [sxmo-docs](https://man.sr.ht/~anjan/sxmo-docs) - All documentation for the latest stable release in Alpine's community repository.
* [sxmo-docs (Development Version)](https://man.sr.ht/~anjan/sxmo-docs-next) - All documentation **for the latest git master branch** installed via `sxmo-build`.

If you are running postmarketOS edge, make sure you subscribe to postmarketOS edge blog for workarounds to breakages introduced by updates:

* [http://postmarketos.org/edge/](http://postmarketos.org/edge/)

Additionally, postmarketOS has a very active wiki with many articles on the administration of S*x*mo:

* [postmarketOS wiki](https://wiki.postmarketos.org/wiki/Main_Page)
* [Sxmo page on the postmarketOS wiki](https://wiki.postmarketos.org/wiki/Sxmo/Tips_and_Tricks)
* [Sxmo/Tips and Tricks Article](https://wiki.postmarketos.org/wiki/Sxmo/Tips_and_Tricks)

M src/source/index.md => src/source/index.md +2 -3
@@ 11,9 11,8 @@ Sxmo consists of of various tools that together form the mobile desktop environm
  that powers our environment.
* [sxmo-build](https://git.sr.ht/~mil/sxmo-build) - Build scripts to compile and install the latest
  development version of all these repositories from git.
* [sxmo-docs](https://git.sr.ht/~anjan/sxmo-docs) - All documentation, which is also
  visualised on this website.
* [sxmo-docs (Development Version)](https://git.sr.ht/~anjan/sxmo-docs-next) - All documentation **for the latest git HEAD**
* [sxmo-docs](https://git.sr.ht/~anjan/sxmo-docs) - All documentation for the latest stable release in Alpine's community repository.
* [sxmo-docs (Development Version)](https://git.sr.ht/~anjan/sxmo-docs-next) - All documentation **for the latest git master branch** installed via `sxmo-build`.
* [lisgd](https://git.sr.ht/~mil/lisgd) - Libinput synthetic gesture deamon. Our gesture handler for the touchscreen.
* [svkbd](https://tools.suckless.org/x/svkbd/) - Simple virtual keyboard, heavily adapted by Sxmo contributors and maintained
  upstream at suckless.