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

Feature/PRSDM-1877 update javadoc importer to work with hugo #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

andriesfc
Copy link

No description provided.

@andriesfc andriesfc self-assigned this Feb 14, 2022
@andriesfc andriesfc marked this pull request as draft February 14, 2022 14:58
@andriesfc andriesfc removed the request for review from meyerhp February 14, 2022 14:58
@andriesfc andriesfc marked this pull request as ready for review February 15, 2022 07:53

public static void write(Path file, StringBuffer content) {
write(file, content.toString());
Markdown.editFrontMapper(path.resolve("index.md"), (a) -> {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be _index.md

}

public static String siteLink(String value, String target) {
return String.format("[%s]({{'%s' | relative_url }})", value, target);
return format("[%s]({{'%s' | relative_url }})", value, target);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

relative_url needs to be changed to the Hugo function relURL https://gohugo.io/functions/relurl/

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