-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Adding author names in title of the main page #239
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #239 +/- ##
==========================================
- Coverage 73.18% 73.07% -0.11%
==========================================
Files 2 2
Lines 261 260 -1
==========================================
- Hits 191 190 -1
Misses 70 70
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@jstac we are adding the ability to create hyperlinked names as well but let us know what you think of style. I think:
What do you think about the relative text size? |
@mmcky author names with links, i have kept it blue purposefully to indicate its clickable. The config variable for this is:
|
Note that this link feature extends to author names displayed in sub-pages as well. But will revert to previous non-clickable titles if the |
@mmcky have added the feature now to:
|
|
thanks @AakashGfude -- great work. |
@AakashGfude would we be able to add |
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.
@AakashGfude I think the remaining items are:
- check if no author information is provided then the element is not added to the HTML
- add
font size
passthrough as a config option
Once that edge case is tested and the font size passthrough is set and added to the docs then LGTM. :-)
@mmcky this should be handled already. If no author dict is provided, then we take the author names from the old Let me know if this is not working. I will test it again too. |
Thanks @AakashGfude that's great. |
@mmcky I have created a config for font size. called The property has default value of 18px. We can set pixels, by giving a number. FOr example:
would set 20px. |
I think this should be just for I suspect the other pages are using the author information in If yes, maybe the theme author setting should be
What do you think about that? thanks @AakashGfude |
@mmcky, I made the other pages also use |
@AakashGfude -- Roger that. That makes sense and also becomes a single source of truth. So the way it works is if Author is specified in Let's keep the relationship in font size on the other pages (to the surrounding text) and only allow font size changes for the mainpage. ✅ |
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.
Love your work on this @AakashGfude. Thanks.
When you're ready please go ahead and merge and make a new release.
With new features I think you can do a semi-major release 0.7.0
That's right @mmcky.
Done! Great. I will merge and make a release. |
Author names from the description need to be removed from individual repos.
fixes #233