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

Link to markdown docs pages from index pages #985

Merged
merged 2 commits into from
Dec 23, 2018
Merged

Conversation

johnfairh
Copy link
Collaborator

Link to docs pages from the Guides page (or wherever). Direct link to the page, no disclosure section.
screen shot 2018-06-27 at 12 57 49

I think this is generally useful, also feel we'll need it to make the sub-categories feature work properly.

First commit is refactoring to make this area clearer; second commit has the actual change. Looks a bit bigger than it is due to replicating css/template change between themes.

Specs update for css change plus an example of use in MiscJazzyFeatures.

@jpsim
Copy link
Collaborator

jpsim commented Nov 27, 2018

Sorry it took me so long to review this, but this looks great! Feel free to merge after updating the integration specs. 👍

@johnfairh
Copy link
Collaborator Author

No problem; thanks - will try to remember how to drive this project.

Some NFC prep for guides and doc structure work:

Delete `readme_generator.rb` -- not used.

Common up init code for index.html & guides.

DRY the `document.markdown` magic text.

Rename `SourceDecl.render?` to have clearer intent,
refactor into class hierarchy.

Delete unused `SourceDecl.type?`.
Minor theme changes to link directly to the document without
a pop-open disclosure section.
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

Successfully merging this pull request may close these issues.

2 participants