Skip to content

Testing local changes #73

Closed Answered by antoniolinhart
antoniolinhart asked this question in Q&A
Discussion options

You must be logged in to vote

Figured out the solution 😄

For others who are interested:

  • Clone the comprehensive-rust repository (or the repository that makes use of this that you want to use)
  • Override the version of mdbook-i18n-helpers with the local copy (keep in mind you will need to cargo install mdbook-i18n-helpers when you want to go back to the real version
    • cargo install --path ../mdbook-i18n-helpers/
  • .. for xgettext specifically, set the config and then build the book
    • MDBOOK_OUTPUT='{"xgettext": {"pot-file": "messages.pot"}}' mdbook build -d po

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@mgeisler
Comment options

Answer selected by antoniolinhart
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants