1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2025-01-05 17:40:26 +00:00

Write 1.0 version

This commit is contained in:
bouncepaw 2021-03-14 20:34:24 +05:00
parent bcb33f7048
commit 215ce70c08
2 changed files with 6 additions and 22 deletions

View File

@ -1,4 +1,4 @@
# 🍄 MycorrhizaWiki 0.14 # 🍄 MycorrhizaWiki
A wiki engine. A wiki engine.
[Main wiki](https://mycorrhiza.lesarbr.es) [Main wiki](https://mycorrhiza.lesarbr.es)
@ -21,26 +21,10 @@ mycorrhiza [OPTIONS...] WIKI_PATH
WIKI_PATH must be a path to git repository which you want to be a wiki. WIKI_PATH must be a path to git repository which you want to be a wiki.
Options: Options:
-auth-method string -config-path string
What auth method to use. Variants: "none", "fixed" (default "none") Path to a configuration file. Leave empty if you don't want to use it.
-fixed-credentials-path string -print-example-config
Used when -auth-method=fixed. Path to file with user credentials. (default "mycocredentials.json") If true, print an example configuration file contents and exit. You can save the output to a file and base your own configuration on it.
-gemini-cert-path string
Directory where you store Gemini certificates. Leave empty if you don't want to use Gemini.
-header-links-hypha string
Optional hypha that overrides the header links
-home string
The home page (default "home")
-icon string
What to show in the navititle in the beginning, before the colon (default "🍄")
-name string
What is the name of your wiki (default "wiki")
-port string
Port to serve the wiki at (default "1737")
-url string
URL at which your wiki can be found. Used to generate feeds (default "http://0.0.0.0:$port")
-user-hypha string
Hypha which is a superhypha of all user pages (default "u")
``` ```
## Features ## Features

View File

@ -97,7 +97,7 @@ for u := range user.YieldUsers() {
<section> <section>
<h1>About {%s util.SiteName %}</h1> <h1>About {%s util.SiteName %}</h1>
<ul> <ul>
<li><b><a href="https://mycorrhiza.lesarbr.es">MycorrhizaWiki</a> version:</b> β 0.13</li> <li><b><a href="https://mycorrhiza.lesarbr.es">MycorrhizaWiki</a> version:</b> 1.0.0</li>
{%- if user.AuthUsed -%} {%- if user.AuthUsed -%}
<li><b>User count:</b> {%d user.Count() %}</li> <li><b>User count:</b> {%d user.Count() %}</li>
<li><b>Home page:</b> <a href="/">{%s util.HomePage %}</a></li> <li><b>Home page:</b> <a href="/">{%s util.HomePage %}</a></li>