When life gives you docs, make dachshund!
mkdoxin takes external documentation repositories and builds them using mkdocs and mkdocs-material.
The only required environment variable is GIT_REPO
, the URL to the remote
repository.
Other, optional, environment variables are:
MAX_REPO_SIZE
(integer) - value in KB, defaults to 1GB (1,000,000 KB)SCHEDULED_UPDATES
(boolean) - whether to automatically pull updates on a schedule. Defaults toTRUE
.UPDATE_INTERVAL
(integer) - Only applicable ifSCHEDULED_UPDATES
isTRUE
. Must be greater than1
, defaults to1
.UPDATE_CADENCE
(integer) - Only applicable ifSCHEDULED_UPDATES
isTRUE
. Valid options are:second
,seconds
,minute
,minutes
,hour
,hours
,day
,days
,week
,weeks
,monday
,tuesday
,wednesday
,thursday
,friday
,saturday
,sunday
. Defaults todays
.LOCALIZE_SITE_URL
(boolean) - whether to automatically "localize" thesite_url
from mkdocs.yml for any redirects. Converts to localhost for self-contained documents. Defaults toTRUE
.*
*Certain docs utilize the plugin mkdocs-redirects
and occasionally use
the hardcoded value from site_url
in various redirect locations to support anchor references
(#
), which mkdocs-redirects
does not currently support.