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

Make it easier to deploy HTML5-version #5

Open
adewes opened this issue Oct 7, 2015 · 0 comments
Open

Make it easier to deploy HTML5-version #5

adewes opened this issue Oct 7, 2015 · 0 comments
Assignees
Labels
Milestone

Comments

@adewes
Copy link
Owner

adewes commented Oct 7, 2015

Currently, the normal version of Github uses hashtag-based navigation.

We have also implemented HTML5-based navigation, which requires running a server that will redirect all nested URLs to the app page though (i.e. "/milestones/adewes/gitboard" should be a valid URL and render the same page as "/").

Currently, enabling HTML5-based navigation requires the following steps:

  • Replace all relative URLs in templates/index.html and the config.js with absolute paths.
  • Use settings_html5_navigation.js as the main settings file

We could solve this in a more intuitive way by having Make generate settings and template files with the appropriate content, e.g. using Jinja to process templates.

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

No branches or pull requests

1 participant