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

Next version #1741

Merged
merged 90 commits into from
Jul 16, 2022
Merged

Next version #1741

merged 90 commits into from
Jul 16, 2022

Conversation

Keats
Copy link
Collaborator

@Keats Keats commented Jan 23, 2022

No description provided.

Keats and others added 15 commits February 14, 2022 11:08
* Update arg parsing to clap v3
* fix fenced code blocks with linenos and minify_html

* fix test cases involving linenos
This adds a path separator between the directory and filenames in the
message printed by `zola serve` to indicate it is listening for changes.

Before:

    Listening for changes in /path/to/dir{config.toml, content, sass, static, templates}

After:

    Listening for changes in /path/to/dir/{config.toml, content, sass, static, templates}
                                         ^
* Add libs subcrate

* Remove last direct lazy_static usage

* Update pinned ci version

* Update deps
* Make ignored_content work with directories
Just had to remove strip_prefix(path) from file ignore code.
Added tests for subdirectory globbing.

* Add documentation

* add more tests
to confim that simple filename globs still match paths
without strip_prefix
Keats and others added 8 commits February 15, 2022 20:56
* Treat _index.LANG.md as section, not page (close #1694)
Display more advanced information in case of a future crash here

* Add link to translated local section in test_site_i18n to catch #1694
It appears linking to another translated page does not trigger the bug,
but linking to a section within the same (translated) page does.

* Allow (and test for) homepage internal links in broken link detection

Co-authored-by: southerntofu <[email protected]>
…ee (#1761)

* Make sure that zola serve/build can start from anywhere inside dir tree

* make clippy and rustfmt a bit happier

* replace unecessary if-else with unwrap_or and display which path could not get canonicalized if it fails at startup

* canonicalize config_path to avoid crash when config.toml changes
@mwcz
Copy link
Contributor

mwcz commented Mar 17, 2022

I tried zola init on the next branch today and it panics. Left a comment in main.rs where I think it happens. Want me to open a new issue or is this sufficient?

Keats and others added 3 commits March 18, 2022 17:45
* switch from chrono to time

* remove some unused time features

* get utc offset before threading begins
* Add `literal` as a new entry for `data source`, to be used by the `load_data` function

* Add tests to the module for plain text, json, xml, toml, and csv

* Update error messaging to include literal as a potential choice

* Update site documentation to include instructions for using `load_data` with a literal
Keats and others added 14 commits June 10, 2022 20:44
The [RFC](http://www.robotstxt.org/orig.html) mentions only `Disallow`
directive, so it must appear in the file.

`Allow` is an ad hoc agreement between search engines that no all of
them follow.
Currently the Configuration docs says to load syntax files into
config.toml [markdown] extra_syntaxes. However, ever since commit
23064f5 (released in Zola v0.15.0), the extra_syntaxes property was
replaced by extra_syntaxes_and_themes, and used as both syntax and color
theme search paths. Following the docs and trying to set the
extra_syntaxes property does nothing, and #1723 ran into this issue.

Change the docs to consistently reference extra_syntaxes_and_themes.
@Keats
Copy link
Collaborator Author

Keats commented Jun 18, 2022

Last blockers are 2 perf issues: #1902 and #1897

For #1902, anyone seeing a big perf difference between 0.15.3 and this branch?

phillord and others added 7 commits June 21, 2022 15:53
Previously the heuristic check for links required spaces before the
attribute to ensure that attributes suffixed with `id` were not
identified. This has now been expanded to any white space character to
enable the `id` attribute to start on a new line.
* add a test

* CodeBlock text may be split on multiple parts

The CodeBlock text events are now concatenated and processed in a single stream at the end. cf pulldown-cmark/pulldown-cmark#457
Too many invalid stuff like emacs files
* Add insert_anchor = "heading"

* Update CHANGELOG.md

Co-authored-by: Alice Cecile <[email protected]>
@Keats Keats merged commit 39bfbcd into master Jul 16, 2022
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.