diff --git a/docs/content/_index.md b/docs/content/_index.md index 0918bd2..9300752 100644 --- a/docs/content/_index.md +++ b/docs/content/_index.md @@ -9,7 +9,7 @@ lead = 'Fang is a background task processing for Rust. It uses Postgres D url = "/docs/readme" url_button = "Get started" -repo_version = "GitHub v0.10.1" +repo_version = "GitHub v0.10.2" repo_license = "Open-source MIT License." repo_url = "https://github.com/ayrat555/fang" diff --git a/docs/content/authors/_index.md b/docs/content/authors/_index.md index 5609400..fa3abd1 100644 --- a/docs/content/authors/_index.md +++ b/docs/content/authors/_index.md @@ -1,8 +1,8 @@ +++ title = "Authors" description = "The authors of the blog articles." -date = 2022-09-06T8:00:00+00:00 -updated = 2022-09-06T8:00:00+00:00 +date = 2022-09-06T08:00:00.00Z +updated = 2022-09-06T08:00:00.00Z draft = false # Authors diff --git a/docs/content/authors/ayrat-badykov.md b/docs/content/authors/ayrat-badykov.md index 83f94a5..213948c 100644 --- a/docs/content/authors/ayrat-badykov.md +++ b/docs/content/authors/ayrat-badykov.md @@ -1,8 +1,8 @@ +++ title = "Ayrat Badykov" description = "Creator of Fang." -date = 2021-04-01T08:50:45+00:00 -updated = 2021-04-01T08:50:45+00:00 +date = 2021-04-01T08:50:45.00Z +updated = 2021-04-01T08:50:45.00Z draft = false +++ diff --git a/docs/content/authors/pepe-marquez.md b/docs/content/authors/pepe-marquez.md index 968619a..8120b32 100644 --- a/docs/content/authors/pepe-marquez.md +++ b/docs/content/authors/pepe-marquez.md @@ -1,8 +1,8 @@ +++ title = "Pepe Márquez Romero" description = "Co-Creator of Fang." -date = 2021-04-01T08:50:45+00:00 -updated = 2021-04-01T08:50:45+00:00 +date = 2021-04-01T08:50:45.00Z +updated = 2021-04-01T08:50:45.00Z draft = false +++ diff --git a/docs/content/docs/_index.md b/docs/content/docs/_index.md index 92a47d4..e292660 100644 --- a/docs/content/docs/_index.md +++ b/docs/content/docs/_index.md @@ -1,8 +1,8 @@ +++ title = "Docs" description = "The documentation of Fang library." -date = 2022-09-06T08:00:00+00:00 -updated = 2022-09-06T08:00:00+00:00 +date = 2022-09-06T08:00:00.00Z +updated = 2022-09-06T08:00:00.00Z template = "docs/section.html" sort_by = "weight" weight = 4 diff --git a/docs/deploy.sh b/docs/deploy.sh index 34e0037..ecb2142 100755 --- a/docs/deploy.sh +++ b/docs/deploy.sh @@ -3,23 +3,10 @@ set -e BRANCH="gh-pages" -current_time() { - - TIME=$(date -u --rfc-3339=seconds) - - DATE=$(echo $TIME | cut -d' ' -f1) - HOUR=$(echo $TIME | cut -d' ' -f2) - - VALID_TIME=${DATE}T${HOUR} - - echo $VALID_TIME - -} - build() { echo "Starting building..." - TIME=$(current_time) + TIME=$(date +"%m-%d-%YT%H:%M:%S.00Z") printf "+++\ntitle = \"CHANGELOG\"\ndate = $TIME\nupdated = $TIME\ndraft = false\nweight = 410\nsort_by = \"weight\"\ntemplate = \"docs/page.html\"\n\n[extra]\ntoc = true\ntop = false\n+++\n\n" > docs/content/docs/CHANGELOG.md @@ -29,7 +16,7 @@ build() { cat README.md >> docs/content/docs/README.md - + cp -R docs ../docs_backup rm -r * cp -R ../docs_backup ./docs