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

guides/*.adoc causes errors #80

Open
rwinch opened this issue Mar 4, 2020 · 0 comments
Open

guides/*.adoc causes errors #80

rwinch opened this issue Mar 4, 2020 · 0 comments

Comments

@rwinch
Copy link
Contributor

rwinch commented Mar 4, 2020

It appears that creating files within guides/*.adoc causes errors.

  • The file is copies into guides/*.adoc as expected, but it is also copied into ./ which means the file is processed twice. The processing in ./ causes errors when linking to stylesheets since the stylesheets are not found
  • The docinfo-footer.html refers to the css, but it does not adjust based on the fact that the path is now guides vs ./ so the css is not found. A workaround is to use a custom docinfo-footer.html and use docinfofolder for sub directories.
rwinch added a commit to rwinch/spring-boot-data-geode that referenced this issue Mar 4, 2020
guides/*.adoc are copied to guides/*.adoc and ./ when being processed. This
breaks links to javascript. To work around this, we explicitly state which
sources we want to process and avoid the copy found in ./

See spring-gradle-plugins/spring-build-conventions#80
rwinch added a commit to rwinch/spring-boot-data-geode that referenced this issue Mar 4, 2020
The default docinfo-footer.html points to js/ directory. This breaks the
reference to javascript in nested folders. To work around this we include
a custom docinfo-footer.html that points to ../js

See spring-gradle-plugins/spring-build-conventions#80
jxblum pushed a commit to jxblum/spring-boot-data-geode that referenced this issue Mar 7, 2020
guides/*.adoc are copied to guides/*.adoc and ./ when being processed. This breaks links to JavaScript.
To workaround this, we explicitly state which sources we want to process and avoid the copy found in './'.

See spring-gradle-plugins/spring-build-conventions#80
jxblum pushed a commit to jxblum/spring-boot-data-geode that referenced this issue Mar 7, 2020
The default docinfo-footer.html points to a js/ directory. This breaks the reference to JavaScript in nested folders.
To workaround this issue we include a custom docinfo-footer.html that points to '../js'.

See spring-gradle-plugins/spring-build-conventions#80
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

No branches or pull requests

1 participant