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

Documentation title customization #1077

Merged
merged 2 commits into from
Jun 22, 2019
Merged

Documentation title customization #1077

merged 2 commits into from
Jun 22, 2019

Conversation

johnfairh
Copy link
Collaborator

Continuing #1065.

This adds the module version number to the docs title if one is configured, and also adds a --title flag to let users completely customise the docs title.

In the various themes:
Screenshot 2019-06-19 at 14 31 07

Screenshot 2019-06-19 at 14 30 03

Screenshot 2019-06-19 at 14 30 26

Specs changes to show results of various options.

@captainbarbosa
Copy link
Collaborator

Whoa, was literally looking for this a few hours ago. Thanks!

@friedbunny
Copy link
Collaborator

Yay! Happy to see #411 being addressed — thanks @mbalex99 and @johnfairh. 🙇

@SzymonMatysik
Copy link

SzymonMatysik commented Jul 18, 2019

What if i'd like to change those in red rectangles? They're still identical like module name, when i'd like to customize it.
59778065-ad89d680-92ad-11e9-9b00-fee4f7eb4cb1

@johnfairh
Copy link
Collaborator Author

In the jazzy themes, that breadcrumbs line refers to Swift object names -- the thing outlined in red above is the Swift module name (ie. for import). You'd need to post-process the html or create a new theme by copying the one you want and using --theme.

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.

6 participants