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

zola: 0.12.2 -> 0.13.0 #108870

Merged
merged 1 commit into from Jan 9, 2021
Merged

zola: 0.12.2 -> 0.13.0 #108870

merged 1 commit into from Jan 9, 2021

Conversation

0x4A6F
Copy link
Member

@0x4A6F 0x4A6F commented Jan 9, 2021

Motivation for this change

Upgrade to 0.13.0.

  • Enable HTML minification
  • Support output_dir in config.toml
  • Allow sections to be drafted
  • Allow specifying default language in filenames
  • Render emoji in Markdown content if the render_emoji option is enabled
  • Enable YouTube privacy mode for the YouTube shortcode
  • Add language as class to the <code> block and as data-lang
  • Add bibtex to load_data
  • Add a [markdown] section to config.toml to configure rendering
  • Add highlight_code and highlight_theme to a [markdown] section in config.toml
  • Add external_links_target_blank, external_links_no_follow and external_links_no_referrer
  • Add a smart_punctuation option in the [markdown] section in config.toml to turn elements like dots and dashes
    into their typographic forms
  • Add iteration count variable nth for shortcodes to know how many times a shortcode has been invoked in a given
    content
  • Update some highlighting syntaxes and the TS syntax will now be used instead of JS due to issues with it
  • Remove zola serve --watch-only: since we build the HTML in memory and not on disk, it doesn't make sense anymore
  • Update clojure syntax
  • Prefer extra syntaxes to the default ones if we have a match for language
  • Fix zola serve having issues with non-ascii paths
  • 404 page now gets the site default language as lang
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

- Enable HTML minification
- Support `output_dir` in `config.toml`
- Allow sections to be drafted
- Allow specifying default language in filenames
- Render emoji in Markdown content if the `render_emoji` option is enabled
- Enable YouTube privacy mode for the YouTube shortcode
- Add language as class to the `<code>` block and as `data-lang`
- Add bibtex to `load_data`
- Add a `[markdown]` section to `config.toml` to configure rendering
- Add `highlight_code` and `highlight_theme` to a `[markdown]` section in `config.toml`
- Add `external_links_target_blank`, `external_links_no_follow` and `external_links_no_referrer`
- Add a `smart_punctuation` option in the `[markdown]` section in `config.toml` to turn elements like dots and dashes
into their typographic forms
- Add iteration count variable `nth` for shortcodes to know how many times a shortcode has been invoked in a given
content
- Update some highlighting syntaxes and the TS syntax will now be used instead of JS due to issues with it
- Remove `zola serve --watch-only`: since we build the HTML in memory and not on disk, it doesn't make sense anymore
- Update clojure syntax
- Prefer extra syntaxes to the default ones if we have a match for language
- Fix `zola serve` having issues with non-ascii paths
- 404 page now gets the site default language as `lang`
Copy link
Contributor

@danieldk danieldk left a comment

Choose a reason for hiding this comment

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

Result of nixpkgs-review pr 108870 run on x86_64-linux 1

1 package built:
  • zola

Binary works as expected.

@danieldk danieldk merged commit e1af3f9 into NixOS:master Jan 9, 2021
@SuperSandro2000
Copy link
Member

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.

Result of nixpkgs-review pr 108870 run on x86_64-darwin 1

1 package built:
  • zola

@SuperSandro2000
Copy link
Member

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.

Result of nixpkgs-review pr 108870 run on x86_64-linux 1

1 package built:
  • zola

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants