diff options
author | James Elliott <james-d-elliott@users.noreply.github.com> | 2022-01-20 03:36:43 +0300 |
---|---|---|
committer | James Elliott <james-d-elliott@users.noreply.github.com> | 2022-01-20 03:36:43 +0300 |
commit | 1b6a1ca0cdc33cf18eba9823f39424e89bb0476f (patch) | |
tree | 5fc6187bea77dc8d78c6ea3b672ef6891ca51f51 /config | |
parent | 40a8705ab6ba5cbf3bb6e4de0a15c6ef50b00c7e (diff) |
feat: edit link docs repo subpath
Can be used if the folder with your content is in a subfolder so if your project wishes to contain code and docs in the same repo it's convenient to do so. Additionally includes some refactoring in the edit-page.html logic to make it easier to manage.
Diffstat (limited to 'config')
-rw-r--r-- | config/_default/params.toml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/_default/params.toml b/config/_default/params.toml index b9f36ca..84f272a 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -66,11 +66,12 @@ alertDismissable = true alertText = "Introducing the Doks child theme, several DX + UX updates, and more! <a class=\"alert-link stretched-link\" href=\"https://getdoks.org/blog/doks-v0.2/\">Check out Doks v0.2</a>" # Edit Page -# repoHost [Github | Gitea | GitLab] is used for building the edit link based on git hoster +# repoHost [Github | Gitea | GitLab | Bitbucket ] is used for building the edit link based on git hoster repoHost = "GitHub" #repoHost = "Gitea" docsRepo = "https://github.com/h-enk/doks" docsRepoBranch = "master" +docsRepoSubPath = "" editPage = false lastMod = false |