[librsvg: 12/23] Initial TOML configuration for gi-docgen
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 12/23] Initial TOML configuration for gi-docgen
- Date: Fri, 7 Jan 2022 02:11:38 +0000 (UTC)
commit a24f2c3675e1a797d2a7654d6e5eaba5efd42f82
Author: Federico Mena Quintero <federico gnome org>
Date: Thu Jan 6 17:49:59 2022 -0600
Initial TOML configuration for gi-docgen
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/650>
RELEASING.md | 1 +
configure.ac | 2 +-
doc/librsvg.toml | 30 ++++++++++++++++++++++++++++++
3 files changed, 32 insertions(+), 1 deletion(-)
---
diff --git a/RELEASING.md b/RELEASING.md
index 1bdad240f..d7eb52122 100644
--- a/RELEASING.md
+++ b/RELEASING.md
@@ -7,6 +7,7 @@ off items while making a release.
- [ ] Increase the package version number in `configure.ac` (it may
already be increased but not released; double-check it).
- [ ] Copy version number to `Cargo.toml`.
+- [ ] Copy version number to `doc/librsvg.toml`.
- [ ] `cargo update` - needed because you tweaked `Cargo.toml`, and
also to get new dependencies.
- [ ] Tweak the library version number in `configure.ac` if the API changed; follow the steps there.
diff --git a/configure.ac b/configure.ac
index a007dda26..7bded3d07 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,7 +3,7 @@ AC_PREREQ([2.69])
# Package version, the "human readable" version
m4_define([rsvg_major_version],[2])
m4_define([rsvg_minor_version],[53])
-m4_define([rsvg_micro_version],[0]) # Keep this in sync with Cargo.toml
+m4_define([rsvg_micro_version],[0]) # Keep this in sync with Cargo.toml and doc/librsvg.toml
m4_define([rsvg_version],[rsvg_major_version.rsvg_minor_version.rsvg_micro_version])
# Library version information. To make a release:
diff --git a/doc/librsvg.toml b/doc/librsvg.toml
new file mode 100644
index 000000000..ca70152a0
--- /dev/null
+++ b/doc/librsvg.toml
@@ -0,0 +1,30 @@
+[library]
+version = "2.53.0"
+description = "Librsvg - load and render SVG documents"
+authors = "Librsvg developers"
+license = "LGPL-2.1-or-later"
+browse_url = "https://gitlab.gnome.org/GNOME/librsvg/"
+repository_url = "https://gitlab.gnome.org/GNOME/librsvg.git"
+website_url = "https://wiki.gnome.org/Projects/LibRsvg"
+
+[source-location]
+# The base URL for the web UI
+base_url = "https://gitlab.gnome.org/GNOME/librsvg/-/blob/main/"
+# The format for links, using "filename" and "line" for the format
+file_format = "{filename}#L{line}"
+
+[theme]
+name = "basic"
+show_index_summary = true
+show_class_hierarchy = true
+
+[extra]
+content_files = [
+ "overview.md",
+ "recommendations.md",
+ "migrating.md"
+]
+
+[[object]]
+name = "Rsvg.DEPRECATED_FOR"
+hidden = true
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]