-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
WIP: translate the documentation into Spanish #3084
Open
jorgesumle
wants to merge
28
commits into
getpelican:main
Choose a base branch
from
jorgesumle:spanish-translation
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Should fix "Previous" and "Next" arrow styling issue.
See the linked GitHub issue from the previous version of the badge: badges/shields#8671 In summary, these badges were changed in a breaking fashion such that the badges were just linking to the github issue rather than showing the data. Updating the url resolves this. Also updated the link added to the badge image, so that it shows exactly the history of actions that the badge shows the most recent one of.
Co-authored-by: Justin Mayer <[email protected]>
Use str.startswith('/') to check whether 'ret' starts with a slash. The original code fails when 'ret' is an empty string, such as when INDEX_URL is set to "".
The least change would be to just say "suffixed", but I don't think that's a correct english word, so I choose "followed by"
The markdown import of pandoc is their own flavour of markdown. It for instance uses fenced divs[1] which are not supported by python-markdown. When importing content from Wordpress, there is several issues as explained in discussion 3113[2] This change follows a discussion with pandoc developer[3] [1] https://pandoc.org/MANUAL.html#divs-and-spans [2] getpelican#3113 [3] https://fosstodon.org/@pandoc/110105559949588768 Take the following Wordpress blog post sample: ```html <p><!-- wp:paragraph --></p> <p>Paragraph content</p> <p><!-- /wp:paragraph --></p> <p><!-- wp:image {"align":"center","id":3747,"sizeSlug":"full"} --></p> <div class="wp-block-image"> <figure class="aligncenter size-full"><img src="https://test.com/test.jpg" alt="" class="wp-image-3747" title="Some title"/><br /> <figcaption><em>Some caption</em></figcaption> </figure> </div> <p><!-- /wp:image --></p> ``` Before this commit: was imported as ```md `<!-- wp:paragraph -->`{=html} Paragraph content `<!-- /wp:paragraph -->`{=html} `<!-- wp:image {"align":"center","id":3747,"sizeSlug":"full"} -->`{=html} ::: wp-block-image <figure class="aligncenter size-full"> <img src="https://test.com/test.jpg" title="Some title" class="wp-image-3747" /><br /> <figcaption><em>Some caption</em></figcaption> </figure> ::: `<!-- /wp:image -->`{=html} ``` After this change: ```md <!-- wp:paragraph --> Paragraph content <!-- /wp:paragraph --> <!-- wp:image {"align":"center","id":3747,"sizeSlug":"full"} --> <div class="wp-block-image"> <figure class="aligncenter size-full"> <img src="https://test.com/test.jpg" title="Some title" class="wp-image-3747" /><br /> <figcaption><em>Some caption</em></figcaption> </figure> </div> <!-- /wp:image --> ``` Fixes getpelican#3113
When importing a blog, a error is logged: 'No timezone information specified in the settings'. This is because the code calls read_settings() but no configuration file is provided. Instead of providing one (users may not already have one if they are at the import step), use the default settings.
Signed-off-by: Deniz Turgut <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I'm translating the documentation into Spanish. I think that translating changelog is not worth the effort, so I'm going to leave that out.
I'm using this guide.
Related issue #2401