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 og:url for "dirhtml" builder #54

Merged
merged 2 commits into from
Feb 23, 2022

Conversation

ru-fu
Copy link
Contributor

@ru-fu ru-fu commented Feb 23, 2022

The "dirhtml" builder correctly uses ".html" as file suffix,
but the file suffix should not be part of the URL.
We want ".../file_name/" as URL in this case, not
".../file_name.html".

Signed-off-by: Ruth Fuchss [email protected]

@TheTripleV
Copy link
Member

Could you add a test case for this?

The "dirhtml" builder correctly uses ".html" as file suffix,
but the file suffix should not be part of the URL.
We want ".../file_name/" as URL in this case, not
".../file_name.html".

Signed-off-by: Ruth Fuchss <[email protected]>
@ru-fu ru-fu force-pushed the fix-url-for-dirhtml branch 2 times, most recently from 6ae0dd1 to 608fa23 Compare February 23, 2022 11:00
@ru-fu
Copy link
Contributor Author

ru-fu commented Feb 23, 2022

Could you add a test case for this?

Done.

@ItayZiv
Copy link
Collaborator

ItayZiv commented Feb 23, 2022

Make sure you run black so tests pass (black .)

Signed-off-by: Ruth Fuchss <[email protected]>
@ru-fu ru-fu force-pushed the fix-url-for-dirhtml branch from 608fa23 to a4ac184 Compare February 23, 2022 13:34
@Daltz333 Daltz333 merged commit edc4662 into wpilibsuite:main Feb 23, 2022
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.

4 participants