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

Fix formatting of titles #238

Merged
merged 2 commits into from
Feb 5, 2022
Merged

Fix formatting of titles #238

merged 2 commits into from
Feb 5, 2022

Conversation

bkoelman
Copy link
Contributor

@bkoelman bkoelman commented Feb 3, 2022

Moved the title out of its HTML tag so it gets proper formatting and added a leading div to preserve anchors.

Result when running locally:
image
image

Fixes #209.

/cc @julianbartel Though this seems to work, perhaps there's a better way. I know nearly nothing about the doc generation process here and I'm open to suggestions, so would be great if can chime in and take a look.

@dennisdoomen
Copy link
Owner

@bkoelman which Ruby version are you using? I'm using 2.4.10p364, but can't build the site anymore.

@bkoelman
Copy link
Contributor Author

bkoelman commented Feb 3, 2022

Oh sorry, I only used build.bat, which produced the HTML files. I don't have Ruby installed. Can you provide some more info on what to download/install from where to build the site? I'm not sure where to go, based on what's in https://github.com/dennisdoomen/CSharpGuidelines/blob/master/README.md.

@dennisdoomen
Copy link
Owner

Just checked once more on another machine and there it works according to the instructions.

@dennisdoomen
Copy link
Owner

Hmm, this only fixes the titles in the PDF output. Not the HTML versions.

Bart Koelman added 2 commits February 5, 2022 16:23
Moved the title out of its HTML tag so it gets proper formatting and added leading div to preserve anchors.
@bkoelman
Copy link
Contributor Author

bkoelman commented Feb 5, 2022

Pushed another commit to fix titles on website pages and in its search results.

image

image

@dennisdoomen
Copy link
Owner

Great work.

@dennisdoomen dennisdoomen merged commit 5cdecf4 into dennisdoomen:master Feb 5, 2022
@bkoelman bkoelman deleted the fix-title-formatting branch February 5, 2022 17:01
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.

Bug: quoted formatting is not applied in titles on csharpcodingguidelines.com
2 participants