You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
configure :build do
set :http_prefix, '/data-community-tech-docs'
end
This works with bundle exec middleman server, but with bundle exec middleman build (which builds the site on GitHub Pages) it has no entries in the table of contents.
Removing it fixes the table of contents, but no CSS is found because it looks directly under alphagov.github.io instead of alphagov.github.io/data-community-tech-docs.
Setting activate :relative_assets instead fixes both the table of contents and the CSS, but none of the links works because they then link to a page directly under alphagov.github.io instead of alphagov.github.io/data-community-tech-docs.
The text was updated successfully, but these errors were encountered:
In
config.rb
we had:This works with
bundle exec middleman server
, but withbundle exec middleman build
(which builds the site on GitHub Pages) it has no entries in the table of contents.Removing it fixes the table of contents, but no CSS is found because it looks directly under alphagov.github.io instead of alphagov.github.io/data-community-tech-docs.
Setting
activate :relative_assets
instead fixes both the table of contents and the CSS, but none of the links works because they then link to a page directly under alphagov.github.io instead of alphagov.github.io/data-community-tech-docs.The text was updated successfully, but these errors were encountered: