Skip to content

Commit fd2896a

Browse files
committed
Add shortcodes for 'question' and 'answer'
1 parent 00ff9a8 commit fd2896a

230 files changed

Lines changed: 1461 additions & 841 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

content/support/faq/faq.general.001.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,16 @@ question: "How do I contribute to documentation?"
66

77
Back to the [FAQ](/support/faq)
88

9-
### Q: How do I contribute to documentation?
10-
9+
{{< question>}}
10+
# How do I contribute to documentation?
1111
I would like to contribute a small change to the documentation.
12+
1213
In general, how should I go about submitting patches to the documentation?
1314
I cannot find a Git repository containing the documentation.
15+
{{< /question >}}
1416

15-
A: All our public repositories are listed here: https://github.com/GothenburgBitFactory
17+
{{< answer >}}
18+
All our public repositories are listed here: https://github.com/GothenburgBitFactory
1619

1720
Simply clone, modify, and create a pull-request.
21+
{{< /answer >}}

content/support/faq/faq.general.002.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ question: "Are there any plans to create a package for <system>?"
66

77
Back to the [FAQ](/support/faq)
88

9-
### Q: Are there any plans to create a package for <system>?
10-
11-
A: We don't do packaging, the community generally steps up.
9+
{{< question >}}
10+
### Are there any plans to create a package for \<system\>?
11+
{{< /question >}}
12+
{{< answer >}}
13+
We don't do packaging, the community generally steps up.
1214
Contact your distro and make a request.
13-
15+
{{< /answer >}}

content/support/faq/faq.general.003.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@ title: "Taskwarrior - FAQ"
33
topic: "General"
44
question: "What is the project's coding style?"
55
---
6+
Back to the [FAQ](/support/faq)
67

7-
Q: Is there somewhere information about the coding style for the different programming languages used?
8-
9-
A: Make all changes and additions such that they blend in perfectly with the surrounding code, so it looks like only one person worked on the source, and that person is rigidly consistent.
8+
{{< question "What is the project's coding style?" >}}
9+
Is there somewhere information about the coding style for the different programming languages used?
10+
{{< /question >}}
11+
{{< answer >}}
12+
Make all changes and additions such that they blend in perfectly with the surrounding code, so it looks like only one person worked on the source, and that person is rigidly consistent.
1013

1114
That's the general guideline, but to be more explicit about it, here are some of the rules:
1215

@@ -16,3 +19,4 @@ That's the general guideline, but to be more explicit about it, here are some of
1619
* No cuddled braces
1720

1821
https://github.com/GothenburgBitFactory/taskwarrior/blob/develop/doc/devel/contrib/coding_style.md
22+
{{< /answer >}}
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
---
22
title: "Taskwarrior - FAQ"
33
topic: "General"
4-
question: "Which principles build the foundation for task?"
4+
question: "Which principles build the foundation for Taskwarrior?"
55
---
66

77
Back to the [FAQ](/support/faq)
88

9-
Q: Which principles build the foundation for task?
10-
11-
A:
9+
{{< question >}}
10+
### Which principles build the foundation for Taskwarrior?
11+
{{< /question >}}
12+
{{< answer >}}
1213
* Open source is the best way to write software
1314
* Open formats like JSON don't restrict users
1415
* Flexibility with lots of features yields strange and wonderful real-world use-cases
1516
* Scriptability is good
1617
* Performance is important
18+
{{< /answer >}}

content/support/faq/faq.task.001.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ question: "How do I implement Pomodoro?"
55
---
66

77
Back to the [FAQ](/support/faq)
8-
9-
### Q: How do I implement Pomodoro?
10-
8+
{{< question >}}
9+
### How do I implement Pomodoro?
10+
{{< /question >}}
11+
{{< answer >}}
1112
Taskwarrior currently doesn't support the pomodoro technique, not because it doesn't have all the necessary features, but because it has no way to notify the user if a given point in time has arrived.
1213
Remember: most of the time, Taskwarrior isn't running.
1314

1415
You can however use the pomodoro timer or any other timer software (KTeaTimer, Gnome's Tea Timer, Gnome's pomodoro shell extension, pyStopWatch, or any of the many timers out there), together with Taskwarrior to manage and prioritize your ToDo list.
16+
{{< /answer >}}

content/support/faq/faq.task.002.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@ question: "How do I remove an attribute?"
55
---
66

77
Back to the [FAQ](/support/faq)
8-
9-
### Q: How do I remove an attribute?
10-
8+
{{< question >}}
9+
### How do I remove an attribute?
10+
{{< /question >}}
11+
{{< answer >}}
1112
Modify the attribute and give it a blank value:
1213

1314
```
1415
$ task 16 modify due:
1516
```
1617

1718
Taskwarrior doesn't store blank values, so it deletes the attribute.
19+
{{< /answer >}}

content/support/faq/faq.task.003.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ question: "How do I list tasks that have no project?"
66

77
Back to the [FAQ](/support/faq)
88

9-
### Q: How do I list tasks that have no project?
10-
9+
{{< question >}}
10+
### How do I list tasks that have no project?
11+
{{< /question >}}
12+
{{< answer >}}
1113
There are a few ways:
1214

1315
```
@@ -27,3 +29,4 @@ $ task project.not: list
2729
$ task project != '' list
2830
$ task +PROJECT list
2931
```
32+
{{< /answer >}}

content/support/faq/faq.task.004.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ question: "How do I filter tasks containing words that are also commands?"
66

77
Back to the [FAQ](/support/faq)
88

9-
### Q: How do I filter tasks containing words that are also commands?
10-
9+
{{< question >}}
10+
### How do I filter tasks containing words that are also commands?
11+
{{< /question >}}
12+
{{< answer >}}
1113
I have tasks with descriptions such as:
1214

1315
```
@@ -37,3 +39,4 @@ $ task -- info
3739

3840
The `--` operator is a directive that tells Taskwarrior to just treat all subsequent arguments as plain words.
3941
It is also a good way to add a description that might contain things like `dep:`, `proj:`, tags or modifiers.
42+
{{< /answer >}}

content/support/faq/faq.task.005.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,15 @@ question: "How do I hide the change history when using the info report?"
66

77
Back to the [FAQ](/support/faq)
88

9-
### Q: How do I hide the change history when using the `info` report?
10-
9+
{{< question >}}
10+
### How do I hide the change history when using the `info` report?
11+
{{< /question >}}
12+
{{< answer >}}
1113
You need to turn off journaling, like this:
1214

1315
```
1416
$ task config journal.info off
1517
```
1618

1719
See `man taskrc` for more details.
20+
{{< /answer >}}

content/support/faq/faq.task.006.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ question: "How do I list tasks scheduled today?"
66

77
Back to the [FAQ](/support/faq)
88

9-
### Q: How do I list tasks scheduled today?
10-
9+
{{< question >}}
10+
### How do I list tasks scheduled today?
11+
{{< /question >}}
12+
{{< answer >}}
1113
To filter tasks within a date range:
1214

1315
```
@@ -21,3 +23,4 @@ Alternately, do this:
2123
$ task scheduled.after:today and scheduled.before:tomorrow list
2224
```
2325

26+
{{< /answer >}}

0 commit comments

Comments
 (0)