mirror of
https://github.com/danbulant/api_docs
synced 2026-05-20 12:48:39 +00:00
Added relative links that are needed for hosting a page in a non-root directory.
This commit is contained in:
parent
1030376e37
commit
63429f1e9a
1 changed files with 4 additions and 0 deletions
|
|
@ -55,6 +55,10 @@ set :markdown, :fenced_code_blocks => true, :smartypants => true, :disable_inden
|
|||
# Activate the syntax highlighter
|
||||
activate :syntax
|
||||
|
||||
# This is needed for Github pages, since they're hosted on a subdomain
|
||||
activate :relative_assets
|
||||
set :relative_links, true
|
||||
|
||||
# Build-specific configuration
|
||||
configure :build do
|
||||
# For example, change the Compass output style for deployment
|
||||
|
|
|
|||
Loading…
Reference in a new issue