[gtk-web/new-website: 148/191] updated api data
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-web/new-website: 148/191] updated api data
- Date: Thu, 21 Nov 2019 12:30:55 +0000 (UTC)
commit e723bc7f993003d4cfb580c43becf5da08fea934
Author: ravgeetdhillon <ravgeetdhillon gmail com>
Date: Mon Aug 12 22:11:19 2019 +0530
updated api data
_config.yml | 9 ++++
_data/api_fetch/tags.json | 2 +-
_data/navigation.yml | 3 +-
_data/sample_codes.yml | 110 ++++++++++++++------------------------------
_data/stuff.yml | 16 -------
_includes/header.html | 58 ++---------------------
_includes/navbar.html | 71 ++++++++++++++++++++++++++++
_layouts/documentation.html | 46 ++++++++----------
8 files changed, 139 insertions(+), 176 deletions(-)
---
diff --git a/_config.yml b/_config.yml
index f710e91..dbc6e5e 100644
--- a/_config.yml
+++ b/_config.yml
@@ -9,6 +9,15 @@ title: The GTK Project | A free and open-source cross-platform widget toolkit
# short description of the website
description: GTK is a highly usable, feature rich toolkit for creating graphical user interfaces which
boasts cross platform compatibility and an easy to use API. GTK is licensed under the GNU LGPL 2.1 allowing
development of both free and proprietary software with GTK without any license fees or royalties.
+# tell about the gtk project in as less words as possible for seo.
+mini_description: GTK is a free and open-source cross-platform widget toolkit for creating graphical user
interfaces.
+
+# the current stable version of GTK
+site_repo: https://gitlab.gnome.org/ravgeetdhillon/gtk-web/
+
+# link to the GTK introduction/tutorial video
+tutorial_video_link: https://www.youtube.com/embed/bNA-Q8fQqTc/
+
# jekyll configuration options
baseurl: ''
diff --git a/_data/api_fetch/tags.json b/_data/api_fetch/tags.json
index 6fa6c4d..a7771bd 100644
--- a/_data/api_fetch/tags.json
+++ b/_data/api_fetch/tags.json
@@ -1 +1 @@
-[{"name":"3.24.10","message":"3.24.10","target":"1d25c38811c2ff12860cd6203dfb6d82f19a2cc0","commit":{"id":"3642629767ec54c4079f7d90a9ea780a225bfe5e","short_id":"36426297","created_at":"2019-07-03T20:25:10.000Z","parent_ids":["0f216525af6be01199c88d8a92712d9384f857fb"],"title":"3.24.10","message":"3.24.10\n","author_name":"Matthias
Clasen","author_email":"mclasen redhat
com","authored_date":"2019-07-03T20:25:10.000Z","committer_name":"Matthias Clasen","committer_email":"mclasen
redhat
com","committed_date":"2019-07-03T20:25:10.000Z"},"release":null},{"name":"3.24.9","message":"3.24.9","target":"fa767f03a3652c8e1e37c44df1b4dea16edca017","commit":{"id":"fee3a3066c019239035b9f8560d11bb4d5725b0c","short_id":"fee3a306","created_at":"2019-06-18T10:59:03.000Z","parent_ids":["cb7c994e82dff34bc59193c7ea48a7ed75f34360"],"title":"3.24.9","message":"3.24.9\n","author_name":"Matthias
Clasen","author_email":"mclasen redhat com","authored_date":"2019-06-17T18:04:02.000Z","committer_name":"M
atthias
Clasen","committer_email":"mclasen redhat
com","committed_date":"2019-06-18T10:59:03.000Z"},"release":null},{"name":"3.96.0","message":"3.96.0","target":"f44c9fd2661491359209a878d375bd64f0233ce0","commit":{"id":"b01cf6be65a5fe3d6275c399e6e86c3944337193","short_id":"b01cf6be","created_at":"2019-05-07T03:27:04.000Z","parent_ids":["a0c6d88858f0a85fdeccd71ac7440e72165ae513"],"title":"3.96","message":"3.96\n","author_name":"Matthias
Clasen","author_email":"mclasen redhat
com","authored_date":"2019-05-07T03:01:40.000Z","committer_name":"Matthias Clasen","committer_email":"mclasen
redhat
com","committed_date":"2019-05-07T03:27:04.000Z"},"release":null},{"name":"3.24.8","message":"3.24.8","target":"3cf94a4403e447cbd4ed89b505c75adf3d7e859f","commit":{"id":"5428379fad31f1637c920d97a3d0303f606bfb6e","short_id":"5428379f","created_at":"2019-04-10T21:12:29.000Z","parent_ids":["08e20ce597c78e8455cf26fa09537d94bef478f1"],"title":"3.24.8","message":"3.24.8\n","author_name":"Matthias
Clasen"
,"author
_email":"mclasen redhat com","authored_date":"2019-04-10T21:12:29.000Z","committer_name":"Matthias
Clasen","committer_email":"mclasen redhat
com","committed_date":"2019-04-10T21:12:29.000Z"},"release":null},{"name":"3.24.7","message":"3.24.7","target":"e093bddf0b1759441f4ea3c128962834027400c3","commit":{"id":"d9a382d689b9159daca09e33510ea229a17d37be","short_id":"d9a382d6","created_at":"2019-03-12T20:25:10.000Z","parent_ids":["f88e8ea6fe77d366c0cab4a45b8f3843fb27c7c6"],"title":"3.24.7","message":"3.24.7\n","author_name":"Matthias
Clasen","author_email":"mclasen redhat
com","authored_date":"2019-03-12T20:14:04.000Z","committer_name":"Matthias Clasen","committer_email":"mclasen
redhat
com","committed_date":"2019-03-12T20:25:10.000Z"},"release":null},{"name":"3.24.6","message":"3.24.6","target":"abe33aa4c2224c86840876e1b9ec4f8d7e1a3a9c","commit":{"id":"34e64ce5c20ab6f73d037221294c0c127d0e88d9","short_id":"34e64ce5","created_at":"2019-03-12T18:54:36.000Z","parent_ids":["2ceff6df9
c47539f2
8d742e8c7d6d7d167633f7b"],"title":"3.24.6","message":"3.24.6\n","author_name":"Matthias
Clasen","author_email":"mclasen redhat
com","authored_date":"2019-03-12T15:51:04.000Z","committer_name":"Matthias Clasen","committer_email":"mclasen
redhat
com","committed_date":"2019-03-12T18:54:36.000Z"},"release":null},{"name":"3.24.5","message":"3.24.5","target":"5fb366ff1e7a87b941350b8f893ef99897c71df6","commit":{"id":"bf60bf15de4afd426304f9f42618eb95a92c2605","short_id":"bf60bf15","created_at":"2019-02-04T16:48:56.000Z","parent_ids":["224213dad6c5cf0ebe5bf3b5f3b370ac57592a74"],"title":"3.24.5","message":"3.24.5\n","author_name":"Matthias
Clasen","author_email":"mclasen redhat
com","authored_date":"2019-02-04T16:47:37.000Z","committer_name":"Matthias Clasen","committer_email":"mclasen
redhat
com","committed_date":"2019-02-04T16:48:56.000Z"},"release":null},{"name":"3.24.4","message":"3.24.4","target":"040878cba20222d43f4d4496a29f88f4b05fb822","commit":{"id":"a02de1c9d9ed99e51ae4470c2
8644d322
2a0bf8f","short_id":"a02de1c9","created_at":"2019-01-21T14:09:59.000Z","parent_ids":["f7df4853e8a8dc40cb32508d30839ab4da4b74a7"],"title":"More
updates","message":"More updates\n","author_name":"Matthias Clasen","author_email":"mclasen redhat
com","authored_date":"2019-01-21T14:09:59.000Z","committer_name":"Matthias Clasen","committer_email":"mclasen
redhat
com","committed_date":"2019-01-21T14:09:59.000Z"},"release":null},{"name":"3.24.3","message":"3.24.3","target":"16093731401476d544b5ee22eb902757c3df4a1d","commit":{"id":"c9d09695f89c7470c2135ce581331179bd73a7df","short_id":"c9d09695","created_at":"2019-01-14T04:11:14.000Z","parent_ids":["97bac67546ceafcd8fb879d744d8297618b66cfb"],"title":"3.24.3","message":"3.24.3\n","author_name":"Matthias
Clasen","author_email":"mclasen redhat
com","authored_date":"2019-01-14T04:11:14.000Z","committer_name":"Matthias Clasen","committer_email":"mclasen
redhat com","committed_date":"2019-01-14T04:11:14.000Z"},"release":null},{"name":"3.24.
2","mess
age":"3.24.2","target":"edba66b354f6091e92c817de16f1e8986040b11b","commit":{"id":"363df54e54cfae7244bd155e4199af145bc13088","short_id":"363df54e","created_at":"2018-12-12T18:35:04.000Z","parent_ids":["38edc38f21951b33daf5cd593f74ffc30ade5d5b"],"title":"3.24.2","message":"3.24.2\n","author_name":"Matthias
Clasen","author_email":"mclasen redhat
com","authored_date":"2018-12-12T17:11:48.000Z","committer_name":"Matthias Clasen","committer_email":"mclasen
redhat
com","committed_date":"2018-12-12T18:35:04.000Z"},"release":null},{"name":"3.24.1","message":"3.24.1","target":"a9efdf3c7fa662083670bfba725dbeaf547e377b","commit":{"id":"f5ad1786e8b2b80408d8df6d2ac2c0748926b20c","short_id":"f5ad1786","created_at":"2018-09-19T01:42:55.000Z","parent_ids":["ac41c3895fba36507ab4cc22079fede9397c62b7"],"title":"3.24.1","message":"3.24.1\n","author_name":"Matthias
Clasen","author_email":"mclasen redhat
com","authored_date":"2018-09-19T01:42:55.000Z","committer_name":"Matthias Clasen","committer_
email":"
mclasen redhat
com","committed_date":"2018-09-19T01:42:55.000Z"},"release":null},{"name":"3.24.0","message":"3.24.0","target":"29981d49c2c9e74591fa7ba47d27e4d2a5cdcb16","commit":{"id":"ef1a1b5cb1010977d631dc1131b0db45a1e1e15f","short_id":"ef1a1b5c","created_at":"2018-09-03T16:41:53.000Z","parent_ids":["51a64c52b7694b148dceebbd829270ed8f33e867"],"title":"3.24.0","message":"3.24.0\n","author_name":"Matthias
Clasen","author_email":"mclasen redhat
com","authored_date":"2018-09-03T16:41:53.000Z","committer_name":"Matthias Clasen","committer_email":"mclasen
redhat
com","committed_date":"2018-09-03T16:41:53.000Z"},"release":null},{"name":"3.23.3","message":"3.23.3","target":"51153afef6b92649d01c49116733a94a1f4c2c72","commit":{"id":"34c7eba642104e5eded877704b66cf9ba61b2c71","short_id":"34c7eba6","created_at":"2018-08-29T00:27:03.000Z","parent_ids":["79c6c944ecf42c259fc0192dbb530efd76048fbc"],"title":"3.23.3","message":"3.23.3\n","author_name":"Matthias
Clasen","author_email":"mclase
n@redhat
.com","authored_date":"2018-08-28T20:52:44.000Z","committer_name":"Matthias
Clasen","committer_email":"mclasen redhat
com","committed_date":"2018-08-29T00:27:03.000Z"},"release":null},{"name":"3.23.2","message":"3.23.2","target":"87dca6d85bb534cca3d8a86eaed9ff2f40a24b7c","commit":{"id":"06800b22ff986671794e7d55107da1cf1b9482d7","short_id":"06800b22","created_at":"2018-07-31T02:37:12.000Z","parent_ids":["9417389659c0054195b3e8324c1145cb077a3909"],"title":"window:
Fallback to CSD titlebar in focus-chain","message":"window: Fallback to CSD titlebar in focus-chain\n\nCSD
titlebar are included in the focus-chain. The logic used makes sure that the\ninitial focus avoids the
titlebar, but tabbing around will eventually get there.\nThis logic fails in case the window has no other
focusable widgets apart from\nthe ones in the header-bar. If this happens keynav focus will be lost. To
handle\nthe above scenario, we need to fallback to focus the header-bar (if any).\n\nFixes: https://gi
tlab.gno
me.org/GNOME/gnome-software/issues/404\n","author_name":"Andrea Azzarone","author_email":"azzaronea gmail
com","authored_date":"2018-07-26T08:16:32.000Z","committer_name":"Matthias Clasen","committer_email":"mclasen
redhat
com","committed_date":"2018-07-31T02:37:12.000Z"},"release":null},{"name":"3.23.1","message":"3.23.1","target":"ccc03b44167caa986f80ca2ed445a22f1b3f03ca","commit":{"id":"f7f3939b048720aadc06c45465dea732456d212a","short_id":"f7f3939b","created_at":"2018-07-18T20:58:17.000Z","parent_ids":["13a36e81dc7c3a7f8f67fe86618f11c42a3cb20f"],"title":"3.23.1","message":"3.23.1\n","author_name":"Matthias
Clasen","author_email":"mclasen redhat
com","authored_date":"2018-07-18T19:55:30.000Z","committer_name":"Matthias Clasen","committer_email":"mclasen
redhat
com","committed_date":"2018-07-18T20:58:17.000Z"},"release":null},{"name":"3.94.0","message":"3.94.0","target":"385f52d7e8f5297be1eb2178307eded45db367c3","commit":{"id":"faba0f0145b1281facba20fb90699e3db594fbb0","sho
rt_id":"
faba0f01","created_at":"2018-06-25T23:55:04.000Z","parent_ids":["8755d884f3e5043f355d4c6403e954ea5ff0928f"],"title":"Bump
version to 3.94.0","message":"Bump version to 3.94.0\n","author_name":"Matthias
Clasen","author_email":"mclasen redhat
com","authored_date":"2018-06-25T22:14:16.000Z","committer_name":"Matthias Clasen","committer_email":"mclasen
redhat
com","committed_date":"2018-06-25T23:55:04.000Z"},"release":null},{"name":"3.23.0","message":"3.23.0","target":"5af1150c6996dca0c347204f4541938f8f8f1a3b","commit":{"id":"593edacb48849746f5541c72c021b50a12794ca1","short_id":"593edacb","created_at":"2018-06-23T20:14:01.000Z","parent_ids":["0997ffbc5b2ab721edd3d23b83d9d5147eb4bada"],"title":"gtk:
also recolor circle and ellipse in symbolic SVG icons.","message":"gtk: also recolor circle and ellipse in
symbolic SVG icons.\n","author_name":"Jehan","author_email":"jehan girinstud
io","authored_date":"2018-06-22T22:16:39.000Z","committer_name":"Matthias Clasen","committer_email":"
mclasen@
redhat.com","committed_date":"2018-06-23T20:14:01.000Z"},"release":null},{"name":"3.22.30","message":"3.22.30","target":"3abb1e5af489e9691c54cb169bf7a3da4da8a9e7","commit":{"id":"2e7ac262be15fb402c4103d28533c6c6d955bf65","short_id":"2e7ac262","created_at":"2018-04-16T18:06:02.000Z","parent_ids":["cb71d083ab07532a77dfbd46c807df160bd84dcc"],"title":"3.22.30","message":"3.22.30\n","author_name":"Matthias
Clasen","author_email":"mclasen redhat
com","authored_date":"2018-04-16T18:06:02.000Z","committer_name":"Matthias Clasen","committer_email":"mclasen
redhat
com","committed_date":"2018-04-16T18:06:02.000Z"},"release":null},{"name":"3.22.29","message":"3.22.29","target":"c0382e0114f9d39bce1c7d42803fe61e34f2fe15","commit":{"id":"9f6deab88cfbcfd7ebf5431495453adcab9f0639","short_id":"9f6deab8","created_at":"2018-03-13T02:22:05.000Z","parent_ids":["0f3396d7423d9f76506f91ac8a97adc1df5cf50f"],"title":"3.22.29","message":"3.22.29\n","author_name":"Matthias
Clasen","author_email":"mclase
n@redhat
.com","authored_date":"2018-03-12T21:34:03.000Z","committer_name":"Matthias
Clasen","committer_email":"mclasen redhat
com","committed_date":"2018-03-13T02:22:05.000Z"},"release":null},{"name":"3.22.28","message":"3.22.28","target":"722971e736d4be57e30590e224ff0892b8fab34e","commit":{"id":"463ee95136d519783e55acbd092bc8ba1dd16832","short_id":"463ee951","created_at":"2018-02-14T17:48:01.000Z","parent_ids":["c6901a8b950f156aaddf2ee8f8fb39440b7b9cfd"],"title":"3.22.28","message":"3.22.28\n","author_name":"Matthias
Clasen","author_email":"mclasen redhat
com","authored_date":"2018-02-14T17:48:01.000Z","committer_name":"Matthias Clasen","committer_email":"mclasen
redhat com","committed_date":"2018-02-14T17:48:01.000Z"},"release":null}]
\ No newline at end of file
+[{"name":"3.96.0","message":"3.96.0","target":"f44c9fd2661491359209a878d375bd64f0233ce0","commit":{"id":"b01cf6be65a5fe3d6275c399e6e86c3944337193","short_id":"b01cf6be","created_at":"2019-05-07T03:27:04.000Z","parent_ids":["a0c6d88858f0a85fdeccd71ac7440e72165ae513"],"title":"3.96","message":"3.96\n","author_name":"Matthias
Clasen","author_email":"mclasen redhat
com","authored_date":"2019-05-07T03:01:40.000Z","committer_name":"Matthias Clasen","committer_email":"mclasen
redhat
com","committed_date":"2019-05-07T03:27:04.000Z"},"release":null},{"name":"3.94.0","message":"3.94.0","target":"385f52d7e8f5297be1eb2178307eded45db367c3","commit":{"id":"faba0f0145b1281facba20fb90699e3db594fbb0","short_id":"faba0f01","created_at":"2018-06-25T23:55:04.000Z","parent_ids":["8755d884f3e5043f355d4c6403e954ea5ff0928f"],"title":"Bump
version to 3.94.0","message":"Bump version to 3.94.0\n","author_name":"Matthias
Clasen","author_email":"mclasen redhat com","authored_date":"2018-06-25T22:14:16.0
00Z","co
mmitter_name":"Matthias Clasen","committer_email":"mclasen redhat
com","committed_date":"2018-06-25T23:55:04.000Z"},"release":null},{"name":"3.93.0","message":"3.93.0","target":"d0f89e9dcf496ed43f99b02a7e5eae29209757b5","commit":{"id":"3f012f6d018708f895663468e2c788b448cddc3d","short_id":"3f012f6d","created_at":"2017-12-27T12:08:17.000Z","parent_ids":["06ad134876fab771a9becb84cb176f7358bf34c5"],"title":"Try
again to make the a11y tests pass","message":"Try again to make the a11y tests
pass\n","author_name":"Matthias Clasen","author_email":"mclasen redhat
com","authored_date":"2017-12-27T12:08:17.000Z","committer_name":"Matthias Clasen","committer_email":"mclasen
redhat
com","committed_date":"2017-12-27T12:08:17.000Z"},"release":null},{"name":"3.92.1","message":"3.92.1","target":"be8fe853f0f43c52e840b6edf8ebd6956d0d2bb5","commit":{"id":"99f42bb72e01be02cfdc0c09211e6e52fd671680","short_id":"99f42bb7","created_at":"2017-10-18T21:17:27.000Z","parent_ids":["e4259eaeaac1be04218722
b5c18ba3
8b5b86b779"],"title":"3.92.1","message":"3.92.1\n\nChange the project name back to gtk+ to avoid trouble
with\ntarball names not matching ftpadmin expectations.\n","author_name":"Matthias
Clasen","author_email":"mclasen redhat
com","authored_date":"2017-10-18T21:11:07.000Z","committer_name":"Matthias Clasen","committer_email":"mclasen
redhat
com","committed_date":"2017-10-18T21:17:27.000Z"},"release":null},{"name":"3.92.0","message":"3.92.0","target":"6a90f44ce8f4a19205482543e4c31f5f95855d00","commit":{"id":"e4259eaeaac1be04218722b5c18ba38b5b86b779","short_id":"e4259eae","created_at":"2017-10-18T16:52:06.000Z","parent_ids":["a2aa128178a8efd3f75a4c20501530095e01fc6b"],"title":"3.92.0","message":"3.92.0\n","author_name":"Matthias
Clasen","author_email":"mclasen redhat
com","authored_date":"2017-10-18T16:29:53.000Z","committer_name":"Matthias Clasen","committer_email":"mclasen
redhat com","committed_date":"2017-10-18T16:52:06.000Z"},"release":null},{"name":"3.91.2","message":"3
.91.2","
target":"540c9c1ecee579a6e9843f4be75e8f4e8993682c","commit":{"id":"2f02401344a4b6083d4368c8f6b053a959d075fb","short_id":"2f024013","created_at":"2017-08-08T02:21:22.000Z","parent_ids":["80afb8c90a03eae7e50840974cfdc467864a1a3c"],"title":"3.91.2","message":"3.91.2\n","author_name":"Matthias
Clasen","author_email":"mclasen redhat
com","authored_date":"2017-08-08T01:57:58.000Z","committer_name":"Matthias Clasen","committer_email":"mclasen
redhat
com","committed_date":"2017-08-08T02:21:22.000Z"},"release":null},{"name":"3.91.1","message":"3.91.1","target":"dedaf27a8bf7fdb3df15e5dc887a0068570ab88d","commit":{"id":"de3b244fa1f1ae7dadf2c806080fff47819a465b","short_id":"de3b244f","created_at":"2017-07-19T19:46:32.000Z","parent_ids":["f0f5c67c9d51e38c42bd2821b7f2935852a5f450"],"title":"3.91.1","message":"3.91.1\n","author_name":"Matthias
Clasen","author_email":"mclasen redhat
com","authored_date":"2017-07-19T13:16:13.000Z","committer_name":"Matthias Clasen","committer_email":"mclasen
@redhat.
com","committed_date":"2017-07-19T19:46:32.000Z"},"release":null},{"name":"3.91.0","message":"3.91.0","target":"ed37be5e023c9c9aabda6f5a0a8a662967aa04b0","commit":{"id":"853cba6b1a1192e2e219fad6f2e2f8f9a7ba731f","short_id":"853cba6b","created_at":"2017-05-23T01:42:18.000Z","parent_ids":["ca098bb42a193057c9379c901a59f54068fdc942"],"title":"3.91.0","message":"3.91.0\n","author_name":"Matthias
Clasen","author_email":"mclasen redhat
com","authored_date":"2017-05-22T20:39:09.000Z","committer_name":"Matthias Clasen","committer_email":"mclasen
redhat
com","committed_date":"2017-05-23T01:42:18.000Z"},"release":null},{"name":"3.90.0","message":"3.90.0","target":"4cb7d05a0603e979271c30d42d7a36101f5eb8f0","commit":{"id":"0fa7ce30dca3d3c339ce54aec1969313269fc53d","short_id":"0fa7ce30","created_at":"2017-03-31T18:05:31.000Z","parent_ids":["99ae996a71ed66bc1886d110f5c0cda5617cef6f"],"title":"3.90.0","message":"3.90.0\n","author_name":"Matthias
Clasen","author_email":"mclasen redhat com","
authored
_date":"2017-03-31T18:05:31.000Z","committer_name":"Matthias Clasen","committer_email":"mclasen redhat
com","committed_date":"2017-03-31T18:05:31.000Z"},"release":null},{"name":"3.89.5","message":"3.89.5","target":"d3ef5b21da6906614cfe2b53ea539e0af9941b39","commit":{"id":"7cb2c560ae8d856b621003d31105b50c1957b357","short_id":"7cb2c560","created_at":"2017-03-14T00:20:09.000Z","parent_ids":["94c4f01f39f85204753b10427b9b84a01abf27f4"],"title":"3.89.5","message":"3.89.5\n","author_name":"Matthias
Clasen","author_email":"mclasen redhat
com","authored_date":"2017-03-13T23:52:06.000Z","committer_name":"Matthias Clasen","committer_email":"mclasen
redhat
com","committed_date":"2017-03-14T00:20:09.000Z"},"release":null},{"name":"3.89.4","message":"3.89.4","target":"40d3597975c906c5b720f037969dae5ae332f7d6","commit":{"id":"b842d6b008842444df5c1217d7cf5c063510285f","short_id":"b842d6b0","created_at":"2017-02-13T22:40:13.000Z","parent_ids":["d07685f90391c6c03aa9f019b7db9d0bad40bc64"],"tit
le":"3.8
9.4","message":"3.89.4\n","author_name":"Matthias Clasen","author_email":"mclasen redhat
com","authored_date":"2017-02-13T21:05:39.000Z","committer_name":"Matthias Clasen","committer_email":"mclasen
redhat
com","committed_date":"2017-02-13T22:40:13.000Z"},"release":null},{"name":"3.89.3","message":"3.89.3","target":"3964879eddc7d7bd8660037d3c0ac5a0dfa80300","commit":{"id":"f21827eb2233673d76d08d01cf12614a7c85aafa","short_id":"f21827eb","created_at":"2017-01-16T22:50:02.000Z","parent_ids":["cfb599bf671bd438f25211d1d300c6554ea71153"],"title":"3.89.3","message":"3.89.3\n","author_name":"Matthias
Clasen","author_email":"mclasen redhat
com","authored_date":"2017-01-16T20:44:52.000Z","committer_name":"Matthias Clasen","committer_email":"mclasen
redhat
com","committed_date":"2017-01-16T22:50:02.000Z"},"release":null},{"name":"3.89.2","message":"3.89.2","target":"d18aa7923213bbb97338927b30fc20dfe6614621","commit":{"id":"e64947662a8f8c9e8f3e2b5565295d8f8ff3746b","short_id":"e6494766"
,"create
d_at":"2016-12-21T19:12:31.000Z","parent_ids":["a2f0c860ee8be497829df4c14a87ea0225db8d4d"],"title":"3.89.2","message":"3.89.2\n","author_name":"Matthias
Clasen","author_email":"mclasen redhat
com","authored_date":"2016-12-21T15:17:09.000Z","committer_name":"Matthias Clasen","committer_email":"mclasen
redhat
com","committed_date":"2016-12-21T19:12:31.000Z"},"release":null},{"name":"3.89.1","message":"3.89.1","target":"0963982cd233e91dd1e21e0b3e19dd43f6c779be","commit":{"id":"1f7ab7c069855b21f0a7c05dbf0d3e9d08caa507","short_id":"1f7ab7c0","created_at":"2016-11-21T23:36:07.000Z","parent_ids":["6e197afc4498bf788b498d869d478b03cb7f58d9"],"title":"3.89.1","message":"3.89.1\n","author_name":"Matthias
Clasen","author_email":"mclasen redhat
com","authored_date":"2016-11-21T10:57:17.000Z","committer_name":"Matthias Clasen","committer_email":"mclasen
redhat
com","committed_date":"2016-11-21T23:36:07.000Z"},"release":null},{"name":"3.24.10","message":"3.24.10","target":"1d25c38811c2ff12
860cd620
3dfb6d82f19a2cc0","commit":{"id":"3642629767ec54c4079f7d90a9ea780a225bfe5e","short_id":"36426297","created_at":"2019-07-03T20:25:10.000Z","parent_ids":["0f216525af6be01199c88d8a92712d9384f857fb"],"title":"3.24.10","message":"3.24.10\n","author_name":"Matthias
Clasen","author_email":"mclasen redhat
com","authored_date":"2019-07-03T20:25:10.000Z","committer_name":"Matthias Clasen","committer_email":"mclasen
redhat
com","committed_date":"2019-07-03T20:25:10.000Z"},"release":null},{"name":"3.24.9","message":"3.24.9","target":"fa767f03a3652c8e1e37c44df1b4dea16edca017","commit":{"id":"fee3a3066c019239035b9f8560d11bb4d5725b0c","short_id":"fee3a306","created_at":"2019-06-18T10:59:03.000Z","parent_ids":["cb7c994e82dff34bc59193c7ea48a7ed75f34360"],"title":"3.24.9","message":"3.24.9\n","author_name":"Matthias
Clasen","author_email":"mclasen redhat
com","authored_date":"2019-06-17T18:04:02.000Z","committer_name":"Matthias Clasen","committer_email":"mclasen
redhat com","committed_date":"
2019-06-
18T10:59:03.000Z"},"release":null},{"name":"3.24.8","message":"3.24.8","target":"3cf94a4403e447cbd4ed89b505c75adf3d7e859f","commit":{"id":"5428379fad31f1637c920d97a3d0303f606bfb6e","short_id":"5428379f","created_at":"2019-04-10T21:12:29.000Z","parent_ids":["08e20ce597c78e8455cf26fa09537d94bef478f1"],"title":"3.24.8","message":"3.24.8\n","author_name":"Matthias
Clasen","author_email":"mclasen redhat
com","authored_date":"2019-04-10T21:12:29.000Z","committer_name":"Matthias Clasen","committer_email":"mclasen
redhat
com","committed_date":"2019-04-10T21:12:29.000Z"},"release":null},{"name":"3.24.7","message":"3.24.7","target":"e093bddf0b1759441f4ea3c128962834027400c3","commit":{"id":"d9a382d689b9159daca09e33510ea229a17d37be","short_id":"d9a382d6","created_at":"2019-03-12T20:25:10.000Z","parent_ids":["f88e8ea6fe77d366c0cab4a45b8f3843fb27c7c6"],"title":"3.24.7","message":"3.24.7\n","author_name":"Matthias
Clasen","author_email":"mclasen redhat com","authored_date":"2019-03-12T20:1
4:04.000
Z","committer_name":"Matthias Clasen","committer_email":"mclasen redhat
com","committed_date":"2019-03-12T20:25:10.000Z"},"release":null},{"name":"3.24.6","message":"3.24.6","target":"abe33aa4c2224c86840876e1b9ec4f8d7e1a3a9c","commit":{"id":"34e64ce5c20ab6f73d037221294c0c127d0e88d9","short_id":"34e64ce5","created_at":"2019-03-12T18:54:36.000Z","parent_ids":["2ceff6df9c47539f28d742e8c7d6d7d167633f7b"],"title":"3.24.6","message":"3.24.6\n","author_name":"Matthias
Clasen","author_email":"mclasen redhat
com","authored_date":"2019-03-12T15:51:04.000Z","committer_name":"Matthias Clasen","committer_email":"mclasen
redhat
com","committed_date":"2019-03-12T18:54:36.000Z"},"release":null},{"name":"3.24.5","message":"3.24.5","target":"5fb366ff1e7a87b941350b8f893ef99897c71df6","commit":{"id":"bf60bf15de4afd426304f9f42618eb95a92c2605","short_id":"bf60bf15","created_at":"2019-02-04T16:48:56.000Z","parent_ids":["224213dad6c5cf0ebe5bf3b5f3b370ac57592a74"],"title":"3.24.5","message":"3.24.5\
n","auth
or_name":"Matthias Clasen","author_email":"mclasen redhat
com","authored_date":"2019-02-04T16:47:37.000Z","committer_name":"Matthias Clasen","committer_email":"mclasen
redhat com","committed_date":"2019-02-04T16:48:56.000Z"},"release":null}]
\ No newline at end of file
diff --git a/_data/navigation.yml b/_data/navigation.yml
index f707350..ba39c33 100644
--- a/_data/navigation.yml
+++ b/_data/navigation.yml
@@ -26,9 +26,10 @@ menu_links:
footer: true
section: Project
- name: Blog
- href: /blog/
+ href: https://blog.gtk.org/
header: true
footer: true
+ external: true
section: Company
- name: Usecases
href: /usecases/
diff --git a/_data/sample_codes.yml b/_data/sample_codes.yml
index ee155e5..6b47f54 100644
--- a/_data/sample_codes.yml
+++ b/_data/sample_codes.yml
@@ -1,85 +1,43 @@
codes:
- - name: Java
- ext: java
+ - name: Javascript
+ ext: javascript
snippet: |
- ```java
-
- import java.util.*;
-
- class GFG {
- static boolean isPrime(int n)
- {
- if (n <= 1)
- return false;
-
- for (int i = 2; i < n; i++)
- if (n % i == 0)
- return false;
-
- return true;
- }
-
- public static void main(String[] args)
- {
- if(isPrime(11))
- System.out.println(" true") ;
-
- else
- System.out.println(" false");
-
- }
- }
+ ```javascript
+ const Gtk = imports.gi.Gtk;
+ const GLib = imports.gi.GLib;
+
+ Gtk.init(null, 0);
+
+ let mwindow = new Gtk.Window({type : Gtk.WindowType.TOPLEVEL});
+ let label = new Gtk.Label({label : "Hello World"});
+
+ mwindow.title = "Hello World!";
+ mwindow.connect("destroy", function(){Gtk.main_quit()});
+
+ mwindow.add(label);
+
+ label.show();
+ mwindow.show();
+
+ Gtk.main();
```
- name: Python
ext: py
snippet: |
```python
-
- def isPrime(n):
- if (n <= 1):
- return False
-
- for i in range(2, n):
- if (n % i == 0):
- return False
-
- return True
-
- if isPrime(11):
- print ("true")
- else:
- print ("false")
- ```
- - name: C++
- ext: cpp
- snippet: |
- ```cpp
-
- #include <bits/stdc++.h>
- using namespace std;
-
- bool isPrime(int n)
- {
- if (n <= 1)
- return false;
-
- for (int i = 2; i < n; i++)
- if (n % i == 0)
- return false;
-
- return true;
- }
- int main()
- {
- isPrime(11) ? cout << " true\n" :
- cout << " false\n";
- return 0;
- }
+ import gi
+ gi.require_version("Gtk", "3.0")
+ from gi.repository import Gtk
+
+ window = Gtk.Window(title="Hello World")
+ window.show()
+ window.connect("destroy", Gtk.main_quit)
+ Gtk.main()
```
- - name: PHP
- ext: php
+ - name: C
+ ext: c
snippet: |
- ```php
+ ```c
<?php
function isPrime($n)
@@ -101,10 +59,10 @@ codes:
?>
```
- - name: C#
- ext: cs
+ - name: Vala
+ ext: vala
snippet: |
- ```csharp
+ ```vala
using System;
diff --git a/_includes/header.html b/_includes/header.html
index 5f938ca..b9972a6 100644
--- a/_includes/header.html
+++ b/_includes/header.html
@@ -1,9 +1,9 @@
{% comment %}
-this is the header file for all the pages in the website
-any changes made to this file will affect header section of all the pages
-to make any design changes to the header section, make changes to this file
-to make changes related to the content, edit the `_data/navigation.yml`
+this is the header file for all the pages in the website.
+any changes made to this file will affect header section of all the pages.
+
+this file contains all the metadata about the website, links to stylesheets and javascript files.
{% endcomment %}
@@ -33,53 +33,3 @@ to make changes related to the content, edit the `_data/navigation.yml`
<script src="{{ '/assets/slick-carousel/slick/slick.min.js' | prepend: site.url }}"></script>
<script src="{{ '/assets/moment/moment.js' | prepend: site.url }}"></script>
</head>
-
-<body>
- {% if page.navbar_type == 'dark' %}
- {% assign text_color = 'white' %}
- {% assign bg_color = 'dark' %}
- {% elsif page.navbar_type == 'light' %}
- {% assign text_color = 'dark' %}
- {% assign bg_color = 'transparent' %}
- {% endif %}
- <header class="navbar small bg-{{ bg_color }}">
- <nav class="container navbar-expand-md px-0 px-md-3">
- <a href="{{ site.url }}" class="navbar-brand text-{{ text_color }}"><img src="{{
'/assets/img/logo-gtk.png' | prepend: site.url }}" class="pr-2" style="width:40px;" /><strong>GTK</strong></a>
- <a class="btn navbar-toggler border-0 p-0" role="button" data-toggle="collapse"
data-target="#navbarSupportedContent" href="#">
- <i class="fas fa-ellipsis-h text-{{ text_color }}"></i>
- </a>
- <div class="collapse navbar-collapse" id="navbarSupportedContent">
- <ul class="navbar-nav ml-auto">
- {% assign menu_links = site.data.navigation.menu_links %}
- {% for link in menu_links %}
- {% assign page_split = page.url | split: '/' %}
- {% assign page_type = page_split[1] | capitalize %}
- {% if link.header %}
- {% if link.external %}
- <li class="nav-item"><a href="{{ link.href }}" class="nav-link float-right text-{{
text_color }}">{{ link.name }}</a></li>
- {% else %}
- <li class="nav-item"><a href="{{ link.href | prepend: site.url }}" class="nav-link
float-right text-{{ text_color }}">{{ link.name }}</a></li>
- {% endif %}
- {% endif %}
- {% endfor %}
- </ul>
- </div>
- </nav>
- </header>
-
- <button class="d-none btn border border-info bg-white rounded-circle position-fixed" id="btn-go-to-top"><i
class="fas fa-angle-up"></i></button>
- <script>
- var btnTop = $("#btn-go-to-top");
- $(window).scroll(function() {
- if ($(window).scrollTop() < 400) {
- btnTop.addClass("d-none");
- }
- else {
- btnTop.removeClass("d-none");
- }
- });
- btnTop.on("click", function(e) {
- e.preventDefault();
- $("html, body").animate({scrollTop: 0});
- });
- </script>
\ No newline at end of file
diff --git a/_includes/navbar.html b/_includes/navbar.html
new file mode 100644
index 0000000..ed48e6c
--- /dev/null
+++ b/_includes/navbar.html
@@ -0,0 +1,71 @@
+{% comment %}
+
+this is the file contains the navbar header for all the pages in the website.
+any changes made to this file will affect the navbar section of all the pages.
+to make any design changes to the header section, make changes to this file.
+
+to make changes related to the content, edit the `_data/navigation.yml`.
+
+{% endcomment %}
+
+<body>
+ {% assign handle = page.navbar_type %}
+ {% case handle %}
+ {% when 'dark' %}
+ {% assign text_color = 'white' %}
+ {% assign bg_color = 'dark' %}
+ {% when 'light' %}
+ {% assign text_color = 'dark' %}
+ {% assign bg_color = 'light' %}
+ {% when 'transparent' %}
+ {% assign text_color = 'white' %}
+ {% assign bg_color = 'transparent' %}
+ {% else %}
+ {% assign text_color = 'dark' %}
+ {% assign bg_color = 'transparent' %}
+ {% endcase %}
+ <header class="navbar small bg-{{ bg_color }}">
+ <nav class="container navbar-expand-md px-0 px-md-3">
+ <a href="{{ site.url }}" class="navbar-brand text-{{ text_color }}"><img src="{{
'/assets/img/logo-gtk.png' | prepend: site.url }}" class="pr-2" style="width:40px;" /><strong>GTK</strong></a>
+ <a class="btn navbar-toggler border-0 bg-{{ text_color }}" role="button" data-toggle="collapse"
data-target="#navbarSupportedContent" href="#">
+ <i class="fas fa-ellipsis-h text-{{ bg_color }}"></i>
+ </a>
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav ml-auto">
+ {% assign menu_links = site.data.navigation.menu_links %}
+ {% for link in menu_links %}
+ {% assign page_split = page.url | split: '/' %}
+ {% assign page_type = page_split[1] | capitalize %}
+ {% if link.header %}
+ {% if link.external %}
+ {% assign link_href = link.href %}
+ {% else %}
+ {% assign link_href = link.href | prepend: site.url %}
+ {% endif %}
+ <a href="{{ link_href }}" class="nav-link-{{ bg_color }} float-right text-{{ text_color }}
rounded">{{ link.name }}</a>
+ {% endif %}
+ {% endfor %}
+ </ul>
+ </div>
+ </nav>
+ </header>
+
+ {% comment %}
+ implements the go to top button.
+ {% endcomment %}
+ <button class="d-none btn border border-info bg-white rounded-circle position-fixed" id="btn-go-to-top"><i
class="fas fa-angle-up"></i></button>
+ <script>
+ var btnTop = $("#btn-go-to-top");
+ $(window).scroll(function() {
+ if ($(window).scrollTop() < 400) {
+ btnTop.addClass("d-none");
+ }
+ else {
+ btnTop.removeClass("d-none");
+ }
+ });
+ btnTop.on("click", function(e) {
+ e.preventDefault();
+ $("html, body").animate({scrollTop: 0});
+ });
+ </script>
\ No newline at end of file
diff --git a/_layouts/documentation.html b/_layouts/documentation.html
index da2e40f..63c4023 100644
--- a/_layouts/documentation.html
+++ b/_layouts/documentation.html
@@ -7,11 +7,13 @@ any changes made to this file will affect all the documentation pages
{% include header.html %}
+{% include navbar.html %}
+
<section>
- <div class="container-fluid">
+ <div class="container">
<div class="row">
- <div class="small p-0 nav-side" id="mySidenav">
- <div class="text-break bg-white p-0 pt-2 pt-md-4 px-md-4 h-100">
+ <div class="col-md-3 small p-0 nav-side" id="mySidenav">
+ <div class="text-break bg-white p-0 pt-2 pt-md-4 h-100">
<a href="#" class="btn d-md-none btn-close mt-2" onclick="closeSideNav()"><i class="fas fa-times
fa-halfx"></i></a>
<ul class="list-group">
{% for section in site.data.navigation.sidebar_sections %}
@@ -36,7 +38,7 @@ any changes made to this file will affect all the documentation pages
</ul>
</div>
</div>
- <div class="col py-4 px-sm-4 bg-light border-0 border-md-left">
+ <div class="col-md-9 py-4 px-sm-4 bg-light border-0 border-md-left">
<div class="d-flex flex-sm-row flex-column py-3 py-md-0 app-shadow">
<div class="w-100">
<span class="btn btn-mdcolor btn-sm d-inline-block d-md-none" style="cursor:pointer;"
onclick="openSideNav()" role="button"><i class="fas fa-bars fa-fw pr-2"></i>More Topics</span>
@@ -60,19 +62,15 @@ any changes made to this file will affect all the documentation pages
<article class="markdown-body">
{{ page.content }}
</article>
- </div>
- <div class="col-xl-2 col-12 small text-break my-4 p-0 pl-3">
- <div class="mr-3 border rounded shadow-sm">
+ <br>
+ <div class="bg-white p-3 border rounded shadow-sm small">
{% assign page_name = page.path | split: '/' %}
{% assign page_name = page_name.last %}
- <div class="px-3 py-3 border-bottom w-100">
- <i class="fas fa-edit text-info"></i>
- <span>Observed a typo or some missing information, edit this page <a href="{{
site.data.stuff.site_repo | append: 'blob/master/collections/_docs/' }}{{ page_name }}/">here</a>.</span>
- </div>
- <div class="bg-light px-3 py-3 w-100">
- <i class="fas fa-plus-square text-info"></i>
- <span>Read on <a href="{{ site.data.stuff.site_repo | append: 'blob/master/CONTRIBUTING.md/'
}}">how to contribute</a> to this website.</span>
- </div>
+ <i class="fas fa-edit text-info fa-fw pr-2"></i>
+ <span>Observed a typo or some missing information, edit this page <a href="{{
site.data.stuff.site_repo | append: 'blob/master/collections/_docs/' }}{{ page_name }}/">here</a>.</span>
+ <br>
+ <i class="fas fa-plus-square text-info fa-fw pr-2"></i>
+ <span>Read on <a href="{{ site.data.stuff.site_repo | append: 'blob/master/CONTRIBUTING.md/'
}}">how to contribute</a> to this website.</span>
</div>
</div>
</div>
@@ -87,23 +85,15 @@ any changes made to this file will affect all the documentation pages
document.querySelector(".nav-side").style.width = "0";
}
- // provides headings with their individual permalinks
- var headings_names = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'];
- var markdown_headings_all = [];
-
- headings_names.forEach(heading => {
- var headings = document.querySelectorAll( '.markdown-body ' + heading );
- headings.forEach(element => {
- markdown_headings_all.push(element);
- });
- });
-
- markdown_headings_all.forEach(heading => {
+ // adds anchor links to the headings in the markdown body
+ var headings = document.querySelectorAll( '.markdown-body h1, .markdown-body h2, .markdown-body h3,
.markdown-body h4, .markdown-body h5, .markdown-body h6' );
+ headings.forEach(heading => {
heading.innerHTML = heading.innerHTML + `
<a id="${heading.id}" href="#${heading.id}" class="anchor"><i class="fas fa-link octicon octicon-link
text-secondary" style="font-size: 0.8rem;"></i></a>
- `;
+ `;
});
</script>
+
{% include footer.html %}
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]