-
Notifications
You must be signed in to change notification settings - Fork 171
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
Add route for full.html.erb regulations #9541
Conversation
Add html with the merged flag. The new option generates a `full.html.erb` file in the output dir. So now we have three html files, two for the separated documents and one for the merged version. See thewca/worldcubeassociation.org#9541 and thewca/wca-regulations-compiler#28.
Add html with the merged flag. The new option generates a `full.html.erb` file in the output dir. So now we have three html files, two for the separated documents and one for the merged version. See thewca/worldcubeassociation.org#9541 and thewca/wca-regulations-compiler#28.
The files are now hosted on S3, yay! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fine with the change as-is, you might want to add a dropdown menu option so that users can actually navigate to the new file?
Code is at app/views/layouts/_navigation.html.erb
somewhere around line 80-ish
Yes! We want that :) Any ideas for the icon? |
Be my guest: https://fontawesome.com/v4/icons/ My spontanenous suggestions: |
What about plus-square for the Guidelines, file-text (this one is used in the information dropdown menu too) for the Regulations and leave the current For the text, does "Regulations & Guidelines" look good? |
Quite honestly, I'm not the person to make this decision. I only have the authority over technical implementation details, but the community (or at least the WRC) should be the one to make this design decision. |
@gregorbg Done! |
See thewca/wca-regulations#1199 and thewca/wca-regulations-compiler#28.