Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thingsym/hugo-theme-techdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthingsym <thingsym@gmail.com>2020-03-19 13:24:51 +0300
committerthingsym <thingsym@gmail.com>2020-03-19 13:24:51 +0300
commitcd51ec25cda56fbba696f5b6a3b7378d9d8ce6cf (patch)
treece2a093e76695e2b9d19054dbe90d08786dc54ef
parentb7afd194ba96f00268bf3b8aecd17aded985c4c7 (diff)
parentac816f3831dd5216062933b421830e1c5cdf28a7 (diff)
Merge branch 'release-0.8.3'v0.8.3
-rw-r--r--README.md39
-rwxr-xr-xexampleSite/config.toml2
-rw-r--r--exampleSite/content/getting-started/configuration.md4
-rw-r--r--layouts/partials/edit-page.html2
-rw-r--r--package-lock.json2
-rw-r--r--package.json2
6 files changed, 45 insertions, 6 deletions
diff --git a/README.md b/README.md
index d49f3c5..18afa7a 100644
--- a/README.md
+++ b/README.md
@@ -53,6 +53,13 @@ cd themes
git clone https://github.com/thingsym/hugo-theme-techdoc.git
```
+作業環境が git 管理下にある場合は submodule として導入
+
+git submodule add git submodule add https://github.com/spiegel-im-spiegel/hugo-theme-text.git themes/hugo-theme-text
+
+
+or (zip arcive)
+
For more information read [the Hugo documentation](https://gohugo.io/themes/installing-and-using-themes/).
### Configure
@@ -198,6 +205,36 @@ hugo server --themesDir ../..
Browse site on http://localhost:1313
+----
+
+## Hugo install
+
+```
+curl -O https://github.com/gohugoio/hugo/releases/download/v0.30/hugo_0.30_Linux-64bit.tar.gz
+tar -zxvf hugo_0.30_Linux-64bit.tar.gz
+mv hugo /usr/local/bin
+rm LICENSE.md README.md
+hugo help
+```
+
+## Hugo server (port: 3000)
+
+```
+cd /path/to/dir
+
+hugo server --port 3000 --bind 0.0.0.0 -wD --ignoreCache --baseURL http://example.com/ -t hugo-theme-techdoc
+```
+
+## Preview exampleSite (port: 3000)
+
+```
+cd /path/to/dir/themes/hugo-theme-techdoc/exampleSite
+
+hugo server --port 3000 --bind 0.0.0.0 -wD --ignoreCache --baseURL http://example.com/ --themesDir ../..
+```
+
+----
+
## Contribution
### Patches and Bug Fixes
@@ -212,6 +249,8 @@ Small patches and bug reports can be submitted a issue tracker in Github. Forkin
## Changelog
+* Version 0.8.3 - 2020.03.19
+ * fix edit page link
* Version 0.8.2 - 2020.03.07
* fix open graph image path
* Version 0.8.1 - 2020.03.07
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index f6d402c..044d7c4 100755
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -20,7 +20,7 @@ enableMissingTranslationPlaceholders = false
# Source Code repository section
description = "put your description"
github_repository = "https://github.com/thingsym/hugo-theme-techdoc"
- version = "0.8.2"
+ version = "0.8.3"
# Documentation repository section
# documentation repository (set edit link to documentation repository)
diff --git a/exampleSite/content/getting-started/configuration.md b/exampleSite/content/getting-started/configuration.md
index 614cd29..9eb6679 100644
--- a/exampleSite/content/getting-started/configuration.md
+++ b/exampleSite/content/getting-started/configuration.md
@@ -15,7 +15,7 @@ For an example of `config.toml`, see [config.toml](https://github.com/thingsym/h
# Souce Code repository section
description = "put your description"
github_repository = "https://github.com/thingsym/hugo-theme-techdoc"
- version = "0.8.2"
+ version = "0.8.3"
# Documentation repository section
# documentation repository (set edit link to documentation repository)
@@ -72,7 +72,7 @@ default: `https://github.com/thingsym/hugo-theme-techdoc`
The version of souce code
-default: `0.8.2`
+default: `0.8.3`
#### `github_doc_repository`
diff --git a/layouts/partials/edit-page.html b/layouts/partials/edit-page.html
index f5dcaa9..d853bf8 100644
--- a/layouts/partials/edit-page.html
+++ b/layouts/partials/edit-page.html
@@ -1,3 +1,3 @@
{{- with .Site.Params.github_doc_repository -}}
-{{- with $.File -}}<a href="{{ . }}/edit/master/content/{{ .Path }}" class="edit-page"><i class="fas fa-pen-square"></i> Edit on GitHub</a>{{- end -}}
+<a href="{{ . }}/edit/master/content/{{ $.File.Path }}" class="edit-page"><i class="fas fa-pen-square"></i> Edit on GitHub</a>
{{- end -}}
diff --git a/package-lock.json b/package-lock.json
index 7e15664..105cd58 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "hugo-theme-techdoc",
- "version": "0.8.2",
+ "version": "0.8.3",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
diff --git a/package.json b/package.json
index 3acee4d..3e3e1bc 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "hugo-theme-techdoc",
- "version": "0.8.2",
+ "version": "0.8.3",
"description": "The Techdoc is a Hugo Theme for technical documentation.",
"main": "gulpfile.js",
"author": "Thingsym",