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

set outfilesuffix to match extension of input filename #1041

Merged

Conversation

mojavelinux
Copy link
Contributor

  • set outfilesuffix to match extension of input filename
  • update test for inter-document xref
  • set docname attribute
  • add test for docname attribute value
  • pass attributes as a hash to ensure docname value is properly escaped

- set outfilesuffix to match extension of input filename
- update test for inter-document xref
- set docname attribute
- add test for docname attribute value
- pass attributes as a hash to ensure docname value is properly escaped
@@ -16,7 +16,7 @@
<p>Refer to <a href="#another-section">Another Section</a> or <a href="#another-section-1">Another Section</a>.</p>
</div>
<div>
<p>Navigate to <a href="another-document.adoc">another document</a>.</p>
<p>Navigate from README.asciidoc to <a href="another-document.asciidoc">another document</a>.</p>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@kivikakk notice that the extension of referenced file now matches the extension of the file being converted.

Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@kivikakk kivikakk merged commit 7e85b37 into github:master Apr 3, 2017
@kivikakk
Copy link
Contributor

kivikakk commented Apr 3, 2017

Awesome. I'm just getting the internal PR to use 1.6.0 opened — once internal CI passes, I'll tag and push the gem!

@mojavelinux mojavelinux deleted the match-outfilesuffix-to-input-file branch April 3, 2017 03:05
@mojavelinux
Copy link
Contributor Author

I'm looking forward to it! I'll inform the AsciiDoc community how to take advantage of this new functionality as soon as it's ready. 👍

@kivikakk
Copy link
Contributor

kivikakk commented Apr 3, 2017

Gem is pushed, and it's live on dotcom now! 🎉

@mojavelinux
Copy link
Contributor Author

Thank you! I'll sound the bells!

@medsauce
Copy link

I would like to mergre this with my main repo!

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.

None yet

3 participants