From f9247b22852500388aa1a8a460f682f00d1e00e4 Mon Sep 17 00:00:00 2001 From: Justin W. Flory (he/him) Date: Nov 13 2020 21:53:32 +0000 Subject: Partials: Update partials/attributes for newer Antora versions This commit updates where the attributes.adoc file is stored (a.k.a. Antora partials). It also updates the `include::` header in all AsciiDoc files to explicitly use partials included in the `ROOT` module of the project. More information: https://docs.fedoraproject.org/en-US/fedora-docs/asciidoc-fedora/reusable-attributes/ Signed-off-by: Justin W. Flory (he/him) --- diff --git a/docs/modules/ROOT/pages/_partials/attributes.adoc b/docs/modules/ROOT/pages/_partials/attributes.adoc deleted file mode 100644 index 8ef7404..0000000 --- a/docs/modules/ROOT/pages/_partials/attributes.adoc +++ /dev/null @@ -1,5 +0,0 @@ -:COMMBLOG: https://communityblog.fedoraproject.org -:DISCOURSE: https://discussion.fedoraproject.org/c/project/commops -:FEDMSG: http://www.fedmsg.com/ -:FWIKI: https://fedoraproject.org/wiki -:YEAR: 2019 diff --git a/docs/modules/ROOT/pages/appreciation-week.adoc b/docs/modules/ROOT/pages/appreciation-week.adoc index 49f1b94..1059a6a 100644 --- a/docs/modules/ROOT/pages/appreciation-week.adoc +++ b/docs/modules/ROOT/pages/appreciation-week.adoc @@ -1,4 +1,4 @@ -include::{partialsdir}/attributes.adoc[] +include::ROOT:partial$attributes.adoc[] = Fedora Appreciation Week diff --git a/docs/modules/ROOT/pages/community-blog.adoc b/docs/modules/ROOT/pages/community-blog.adoc index cfa3fdb..9a7e3a4 100644 --- a/docs/modules/ROOT/pages/community-blog.adoc +++ b/docs/modules/ROOT/pages/community-blog.adoc @@ -1,4 +1,4 @@ -include::{partialsdir}/attributes.adoc[] +include::ROOT:partial$attributes.adoc[] = Community Blog diff --git a/docs/modules/ROOT/pages/contribute/first-steps.adoc b/docs/modules/ROOT/pages/contribute/first-steps.adoc index 5f7a96b..c9affe9 100644 --- a/docs/modules/ROOT/pages/contribute/first-steps.adoc +++ b/docs/modules/ROOT/pages/contribute/first-steps.adoc @@ -1,4 +1,4 @@ -include::{partialsdir}/attributes.adoc[] +include::ROOT:partial$attributes.adoc[] = Make your first steps in Fedora diff --git a/docs/modules/ROOT/pages/contribute/join.adoc b/docs/modules/ROOT/pages/contribute/join.adoc index f523f28..9910ce1 100644 --- a/docs/modules/ROOT/pages/contribute/join.adoc +++ b/docs/modules/ROOT/pages/contribute/join.adoc @@ -1,4 +1,4 @@ -include::{partialsdir}/attributes.adoc[] +include::ROOT:partial$attributes.adoc[] = Join Community Operations diff --git a/docs/modules/ROOT/pages/contribute/successful-contributor.adoc b/docs/modules/ROOT/pages/contribute/successful-contributor.adoc index cfcd67c..0f4fb56 100644 --- a/docs/modules/ROOT/pages/contribute/successful-contributor.adoc +++ b/docs/modules/ROOT/pages/contribute/successful-contributor.adoc @@ -1,3 +1,5 @@ +include::ROOT:partial$attributes.adoc[] + = How to be a successful contributor Audience for this document @@ -14,7 +16,7 @@ A commitment requires reserving some time. If you strongly believe you will enjo Get permission from work and family ----------------------------------- -Volunteering has great rewards in many ways. The two most prominent ones are your success at introducing a person to Fedora, another is your own ego. A third benefit is with your job. +Volunteering has great rewards in many ways. The two most prominent ones are your success at introducing a person to Fedora, another is your own ego. A third benefit is with your job. There is a mutually beneficial relationship between working for a living and volunteering. Many contributors will find their skill sets at work increase dramatically just by having access to and learning from another environment. This volunteering benefits employer and worker. It is completely worthwhile to sit down with your employer and ask for permission to contribute during work hours, even if it's only a couple of hours on a Friday afternoon. If you are married, make sure your family agrees to your being busy for this time commitment. Your volunteering must be a win-win-win for the company, your family and you. Explain the benefits to you, to the business, and your family. Family is the important people in your social life. (spouse, friends, parents, others). diff --git a/docs/modules/ROOT/pages/index.adoc b/docs/modules/ROOT/pages/index.adoc index c8323cc..fd458cf 100644 --- a/docs/modules/ROOT/pages/index.adoc +++ b/docs/modules/ROOT/pages/index.adoc @@ -1,4 +1,4 @@ -include::{partialsdir}/attributes.adoc[] +include::ROOT:partial$attributes.adoc[] = Fedora Community Operations (CommOps) diff --git a/docs/modules/ROOT/partials/attributes.adoc b/docs/modules/ROOT/partials/attributes.adoc new file mode 100644 index 0000000..b2ef1f6 --- /dev/null +++ b/docs/modules/ROOT/partials/attributes.adoc @@ -0,0 +1,5 @@ +:COMMBLOG: https://communityblog.fedoraproject.org +:DISCOURSE: https://discussion.fedoraproject.org/c/project/commops +:FEDMSG: http://www.fedmsg.com/ +:FWIKI: https://fedoraproject.org/wiki +:YEAR: 2020