Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No configuration seems to work #78

Closed
nacnudus opened this issue Jun 11, 2023 · 1 comment
Closed

No configuration seems to work #78

nacnudus opened this issue Jun 11, 2023 · 1 comment

Comments

@nacnudus
Copy link
Contributor

In config.rb we had:

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.

@nacnudus
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant