Skip to content
Snippets Groups Projects
Verified Commit b42e8754 authored by James Graham's avatar James Graham
Browse files

build(docs): attempt fix of base URL for gh-pages

parent d3a82175
No related branches found
No related tags found
No related merge requests found
...@@ -12,12 +12,20 @@ processors: ...@@ -12,12 +12,20 @@ processors:
- type: smart - type: smart
- type: crossref - type: crossref
#@ def base_url():
#@ base_url = None
#@ if env.GITHUB_ACTIONS:
#@ user, repo = env.GITHUB_REPOSITORY.split('/')
#@ base_url = f'https://{user}.github.io/{repo}'
#@ return base_url
#@ end
renderer: renderer:
type: hugo type: hugo
config: config:
title: PyCGTOOL title: PyCGTOOL
theme: { clone_url: "https://github.com/alex-shpak/hugo-book.git" } theme: { clone_url: "https://github.com/alex-shpak/hugo-book.git" }
base_url: "https://jag1g13.github.io/pycgtool/" baseURL: #@ base_url()
content_directory: content content_directory: content
default_preamble: { menu: main } default_preamble: { menu: main }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment