From 05144c40bac3a9647cb0b84cbfa73519174848867686dea76be0e3b7660be37e Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Mon, 11 Nov 2024 02:48:38 +0000 Subject: [PATCH] - Update to version 0.4.42: Fixes * Chapter list folding. - Updates from version 0.4.41: Added * Added preliminary support for Rust 2024 edition. * Added a full example of the remove-emphasis preprocessor. Changed * Adjusted styling of clipboard/play icons. * Attr and section rules now have specific code highlighting. * The sidebar is now loaded from a common file, significantly reducing the book size when there are many chapters. Fixed * Improved theme support when JavaScript is disabled. * Fixed broken themes when localStorage has an invalid theme id. * Adjusted the line-height of superscripts (and footnotes) to avoid adding extra space between lines. OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/mdbook?expand=0&rev=46 --- .gitattributes | 23 +++++ .gitignore | 1 + _constraints | 12 +++ _service | 8 ++ mdbook-0.4.40.tar.gz | 3 + mdbook-0.4.42.tar.gz | 3 + mdbook.changes | 237 +++++++++++++++++++++++++++++++++++++++++++ mdbook.spec | 52 ++++++++++ vendor.tar.zst | 3 + 9 files changed, 342 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _constraints create mode 100644 _service create mode 100644 mdbook-0.4.40.tar.gz create mode 100644 mdbook-0.4.42.tar.gz create mode 100644 mdbook.changes create mode 100644 mdbook.spec create mode 100644 vendor.tar.zst diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_constraints b/_constraints new file mode 100644 index 0000000..a1fbd41 --- /dev/null +++ b/_constraints @@ -0,0 +1,12 @@ + + + + + 8 + + + 16 + + + + diff --git a/_service b/_service new file mode 100644 index 0000000..147a353 --- /dev/null +++ b/_service @@ -0,0 +1,8 @@ + + + + mdbook-*.tar.gz + true + + + diff --git a/mdbook-0.4.40.tar.gz b/mdbook-0.4.40.tar.gz new file mode 100644 index 0000000..ea2ef75 --- /dev/null +++ b/mdbook-0.4.40.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:550da7ff02ef62c60db6e813b6dbae65b9ed3d491186ea74929536feaceea94b +size 1536327 diff --git a/mdbook-0.4.42.tar.gz b/mdbook-0.4.42.tar.gz new file mode 100644 index 0000000..5b7f411 --- /dev/null +++ b/mdbook-0.4.42.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf1c7c293fd1ad3d51fe13cd385303df8b30004ba5edcc35dd8dbd23d670d528 +size 1542406 diff --git a/mdbook.changes b/mdbook.changes new file mode 100644 index 0000000..5592630 --- /dev/null +++ b/mdbook.changes @@ -0,0 +1,237 @@ +------------------------------------------------------------------- +Mon Nov 11 02:07:52 UTC 2024 - Joshua Smith + +- Update to version 0.4.42: + Fixes + * Chapter list folding. +- Updates from version 0.4.41: + Added + * Added preliminary support for Rust 2024 edition. + * Added a full example of the remove-emphasis preprocessor. + Changed + * Adjusted styling of clipboard/play icons. + * Attr and section rules now have specific code highlighting. + * The sidebar is now loaded from a common file, significantly + reducing the book size when there are many chapters. +Fixed + * Improved theme support when JavaScript is disabled. + * Fixed broken themes when localStorage has an invalid theme id. + * Adjusted the line-height of superscripts (and footnotes) to + avoid adding extra space between lines. + +------------------------------------------------------------------- +Thu Jun 6 00:51:35 UTC 2024 - Soc Virnyl Estela + +- Update to version 0.4.40: + * Reverted the update to pulldown-cmark which broke the semver API. + +------------------------------------------------------------------- +Fri Jan 26 12:06:54 UTC 2024 - Soc Virnyl Estela + +- Fix FTBFS by updating how we use obs-service-cargo to automate + vendoring of dependencies. + +------------------------------------------------------------------- +Thu Jan 18 02:32:06 UTC 2024 - Soc Virnyl Estela + +- Update to version 0.4.36: + * Added + - Added Nim to the default highlighted languages. + - Added a small indicator for the sidebar resize handle. + * Changed + - Updated dependencies. MSRV raised to 1.70.0. + * Fixed + - Fixed blank column in print page when the sidebar was visible. + - Fixed indentation of code blocks when Javascript is disabled. + - Fixed a panic when mdbook serve or mdbook watch were given certain kinds of paths. + +------------------------------------------------------------------- +Thu Oct 12 03:12:43 UTC 2023 - Soc Virnyl Estela + +- Update vendored dependencies. + +------------------------------------------------------------------- +Sat Sep 30 00:59:33 UTC 2023 - Soc Virnyl Estela + +- Update to version 0.4.35: + * added the book.text-direction setting for explicit support for right-to-left + languages. + * added rel=prefetch to the "next" links to potentially improve browser performance + * added a .warning css class which is styled for displaying warning blocks. + * better support of the sidebar when JS is disabled. + +------------------------------------------------------------------- +Sun Aug 20 03:13:08 UTC 2023 - Soc Virnyl Estela + +- Replace obsoleted "disabled" with "manual" service option. +- Update to version 0.4.34: + * Add workaround for macOS notify problem. + * Don't use distinct background for code in headers when printing + * Add note to not update toml. + +------------------------------------------------------------------- +Mon Jul 31 21:14:32 UTC 2023 - Jeff Kowalczyk + +- Update to version 0.4.32: + * Update to 0.4.32 + * Rewrite asset deploy. + * deploy: Set the default shell so it doesn't need to be repeated. + * Rename make-release.sh to make-release-asset.sh + * Automatically publish to crates.io on new release + * Update msrv to 1.66. + +------------------------------------------------------------------- +Fri Jun 30 10:42:55 UTC 2023 - socvirnyl.estela@gmail.com + +- Update to version 0.4.31: + * Document that strikethrough can also use a single tilde. + * Update proc-macro2 + * Fix some spellings + * Fix flicker when setting sidebar scroll position +- Update vendored dependencies. + +------------------------------------------------------------------- +Sat Jun 03 04:19:39 UTC 2023 - william.brown@suse.com + +- Update vendored dependencies. + +------------------------------------------------------------------- +Tue May 30 00:32:17 UTC 2023 - socvirnyl.estela@gmail.com + +- Update to version 0.4.30: + * Apply some code style changes. + * Expand on hidelines documentation. + * Explicitly document the `hidelines` key. + * Support hidden lines in languages other than Rust + * Fix search for custom heading attributes + * Add an integration test for heading attributes + * Update pulldown-cmark to 0.9.3 + * Add a test to the test_book for custom heading attributes + * Don't include empty class attribute. + * Update documentation for heading attributes + * docs suggestion + * Add working heading extension + * Update test_book highlight.md + +------------------------------------------------------------------- +Sat May 20 10:45:36 UTC 2023 - socvirnyl.estela@gmail.com + +- Update to version 0.4.29: + * Update to 0.4.29 + * Set minimum versions in Cargo.toml + * Update clap + * Update some indirect dependencies + * Apply clippy::match_like_matches_macro + * Apply clippy::manual_while_let_some + * Apply clippy::needless_borrowed_reference + * Apply clippy::let_unit_value + * Apply clippy::borrow_deref_ref + * Apply clippy::needless_borrow + * Raise MSRV to 1.65 + * Update some direct dependencies + * Don't copy the stock fonts if the user has overridden fonts.css. + * Don't warn on copy-fonts=true (the default) when fonts.css is overridden. + * Update renderers.md + * Refactor the warning message related to copy_fonts so that a user simply configures it + * Switch from gitignore to ignore + * Update init.md + * Bump h2 from 0.3.15 to 0.3.17 + * style(tests): Fixed issues reported by clippy + * docs(cli): Add docs for --force + * fix(cli): init --force skips confirmation prompts + * Convert links from http to https protocol + +------------------------------------------------------------------- +Fri Apr 14 12:29:36 UTC 2023 - Soc Virnyl Estela + +- Update vendored dependencies. + +------------------------------------------------------------------- +Fri Mar 10 12:34:22 UTC 2023 - socvirnyl.estela@gmail.com + +- Update to version 0.4.28: + * change overflow-x hidden to clip + * Update continuous-integration.md + * Default the sidebar to visible in large screens + * Run preprocessors in `mdbook test` + +------------------------------------------------------------------- +Wed Mar 1 10:18:39 UTC 2023 - Soc Virnyl Estela + +- Update vendored dependencies. +- Restrict to tier 1 architectures. + +------------------------------------------------------------------- +Wed Feb 15 09:45:49 UTC 2023 - socvirnyl.estela@gmail.com + +- Update to version 0.4.27: + * Update to 0.4.27 + * Also make sure releases use --locked + * Make sure CI runs with --locked + * Revert "bump 'toml' dependency" + * Remove spammy `debug!` log from `path_to_root` + * Update to 0.4.26 + * Update some direct dependencies + * Add some comments about overflow-x + * bump 'toml' dependency + * Fix incorrect version command + * Remove dependency to time 0.1.44 + * fix overflow-x on mobile + * Remove the WebKit-specific scrollbar styling altogether + * Add issue templates and update contributor docs + * Make fonts part of the theme. + * Fix MDBOOK_BOOK environment variable example + * Thin scrollbars in Chrome and Safari to make them less assertive (#1483) + +------------------------------------------------------------------- +Sun Jan 15 21:43:59 UTC 2023 - Soc Virnyl Estela + +- Enable all-features flag. +- Update vendored dependencies. + +------------------------------------------------------------------- +Wed Dec 28 03:46:14 UTC 2022 - Soc Virnyl Estela + +- Update _constraints file. + +------------------------------------------------------------------- +Tue Dec 20 13:13:01 UTC 2022 - socvirnyl.estela@gmail.com + +- Update to version 0.4.25: + * Fix test with multiple library paths + * Switch to older ubuntu image + * upgrade clap to 4.0 + * Update notify + * Update topological-sort + * Update select + * Update env_logger + * Update assert_cmd + * Bump MSRV to 1.60 + * Update dependencies + * update for hidden only on clipboard + +------------------------------------------------------------------- +Tue Dec 13 09:28:25 UTC 2022 - Soc Virnyl Estela + +- Update _constraints file + +------------------------------------------------------------------- +Tue Dec 13 09:13:50 UTC 2022 - socvirnyl.estela@gmail.com + +- Update to version 0.4.22+g4: + * fix: random ref in + * fix msrv in docs + * Update to 0.4.22 + * Fix broken doc link + * Show the currently selected theme. + * Fix clipping in theme popup + +------------------------------------------------------------------- +Mon Nov 7 03:28:17 UTC 2022 - Soc Virnyl Estela + +- Add _constraints and increase memory to 12G. + +------------------------------------------------------------------- +Sat Nov 5 11:42:04 UTC 2022 - Soc Virnyl Estela + +- Initial spec for mdbook 0.4.21 diff --git a/mdbook.spec b/mdbook.spec new file mode 100644 index 0000000..92af6e3 --- /dev/null +++ b/mdbook.spec @@ -0,0 +1,52 @@ +# +# spec file for package mdbook +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: mdbook +Version: 0.4.42 +Release: 0 +Summary: Create books from markdown +License: (Apache-2.0 OR MIT) AND Unicode-DFS-2016 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT) AND (Apache-2.0 OR MIT OR Zlib) AND (MIT OR Unlicense) AND (Apache-2.0 OR Zlib OR MIT) AND Apache-2.0 AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND MPL-2.0 +URL: https://github.com/rust-lang/mdBook +Source0: https://github.com/rust-lang/mdBook/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source1: vendor.tar.zst +BuildRequires: cargo +BuildRequires: cargo-packaging +BuildRequires: zstd +ExclusiveArch: %{rust_tier1_arches} + +%description +mdbook is a utility to create books from Markdown files + +%prep +%autosetup -a1 -n mdBook-%{version} + +%build +%{cargo_build} --all-features --locked + +%install +%{cargo_install} --all-features --locked + +%check +%{cargo_test} --all-features --locked + +%files +%license LICENSE +%doc README.md CONTRIBUTING.md CHANGELOG.md +%{_bindir}/mdbook + +%changelog diff --git a/vendor.tar.zst b/vendor.tar.zst new file mode 100644 index 0000000..b59ed2f --- /dev/null +++ b/vendor.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2e40b20db82058700fd216fc281204177326bc3988ea33d3566ad025b28758e5 +size 25717326