Skip to content

Commit c2fbcf3

Browse files
authored
chore: structure docs & utils directories (#1087)
1 parent 150523b commit c2fbcf3

File tree

137 files changed

+688
-24352
lines changed

Some content is hidden

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

137 files changed

+688
-24352
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ site/
3030
venv/
3131
.venv/
3232
docs/docs/en/media/~*
33+
docs/vaults/*/.obsidian
3334
.obsidian/plugins/obsidian-spaced-repetition-beta/*
3435

3536
# env

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ build
22
coverage
33
node_modules
44
pnpm-lock.yaml
5+
docs/vaults/
56
tests/vaults/
6-
docs/user-doco-vault/

docs/docs/en/algorithms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ A learning algorithm is a formula that determines when a note or flashcard shoul
2121
!!! warning
2222

2323
Note that this hasn't been updated in a while,
24-
please see the [code](https://github.com/st3v3nmw/obsidian-spaced-repetition/blob/master/src/scheduling.ts).
24+
please see the [code](https://github.com/st3v3nmw/obsidian-spaced-repetition/blob/master/src/algorithms/osr/srs-algorithm-osr.ts).
2525

2626
- `if link_count > 0: initial_ease = (1 - link_contribution) * base_ease + link_contribution * average_ease` - `link_contribution = max_link_factor * min(1.0, log(link_count + 0.5) / log(64))` (cater for uncertainty)
2727
- The importance of the different concepts/notes is determined using the PageRank algorithm (not all notes are created equal xD)

docs/docs/en/flashcards/basic-cloze-cards.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Basic Cloze Cards
22

3-
With [Single & Multiline Cards](../flashcards/qanda-cards.md) the text of both the front and back of each card is specified.
3+
With [Single & Multiline Cards](../flashcards/q-and-a-cards.md) the text of both the front and back of each card is specified.
44

55
With `cloze` cards a single text is specified, together with an identification of which parts of the text should be obscured.
66

docs/docs/en/flashcards/cards-with-blank-lines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Including Blank Lines in Flashcards
22

3-
By default, [Multi-line Basic](qanda-cards.md#multi-line-basic), [Multi-line Bidirectional](qanda-cards.md#multi-line-bidirectional)
3+
By default, [Multi-line Basic](q-and-a-cards.md#multi-line-basic), [Multi-line Bidirectional](q-and-a-cards.md#multi-line-bidirectional)
44
and [Cloze](basic-cloze-cards.md) type flashcards recognize a blank line as the end of the flashcard text.
55
This means that blank lines can not be included within the text.
66

docs/docs/en/flashcards/decks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,4 @@ The plugin will automatically search for folders that contain flashcards & use t
7373

7474
e.g. `Folder/sub-folder/sub-sub-folder``Deck/sub-deck/sub-sub-deck`.
7575

76-
This is an alternative to the tagging option and can be enabled in [settings](../user-options.md#tags--folders).
76+
This is an alternative to the tagging option and can be enabled in [settings](../user-options.md#tags-folders).

docs/docs/en/flashcards/flashcards-overview.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Two types of flashcards are supported:
1111

1212
!!! note "Question & Answer"
1313

14-
[Question & Answer](qanda-cards.md) flashcards are ones where the flashcard text contains both the question text and answer text.
14+
[Question & Answer](q-and-a-cards.md) flashcards are ones where the flashcard text contains both the question text and answer text.
1515

1616
<hr class="thin">
1717
![flashcard-qanda-example](https://github.com/user-attachments/assets/65639d80-b249-4b16-ae40-c2af011c6aab)
@@ -45,13 +45,13 @@ The `flashcard text` is text that defines the type and content of a card (or a s
4545
For some flashcard types, the flashcard text defines a single card. For other flashcard types, multiple
4646
cards are defined.
4747

48-
| Flashcard Type | Cards Defined |
49-
| --------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
50-
| [Single-line Basic](qanda-cards.md#single-line-basic) | flashcard defines the front and back of a single card. |
51-
| [Single-line Bidirectional](qanda-cards.md#single-line-bidirectional) | flashcard defines two cards. |
52-
| [Multi-line Basic](qanda-cards.md#multi-line-basic) | flashcard defines the front and back of a single card. |
53-
| [Multi-line Bidirectional](qanda-cards.md#multi-line-bidirectional) | flashcard defines two cards. |
54-
| [Cloze](basic-cloze-cards.md) | flashcard defines multiple cards, the number of cards based on the number of cloze deletions. |
48+
| Flashcard Type | Cards Defined |
49+
| ----------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
50+
| [Single-line Basic](q-and-a-cards.md#single-line-basic) | flashcard defines the front and back of a single card. |
51+
| [Single-line Bidirectional](q-and-a-cards.md#single-line-bidirectional) | flashcard defines two cards. |
52+
| [Multi-line Basic](q-and-a-cards.md#multi-line-basic) | flashcard defines the front and back of a single card. |
53+
| [Multi-line Bidirectional](q-and-a-cards.md#multi-line-bidirectional) | flashcard defines two cards. |
54+
| [Cloze](basic-cloze-cards.md) | flashcard defines multiple cards, the number of cards based on the number of cloze deletions. |
5555

5656
### Sibling Cards
5757

docs/docs/en/flashcards/statistics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The statistics section can be accessed using the `View Statistics` command.
66

77
Stats on the number of cards due in the future.
88

9-
<img src="https://raw.githubusercontent.com/st3v3nmw/obsidian-spaced-repetition/master/assets/stats_forecast.png" />
9+
<img src="https://raw.githubusercontent.com/st3v3nmw/obsidian-spaced-repetition/master/docs/media/en/stats_forecast.png" />
1010

1111
### Intervals
1212

docs/docs/en/index.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Fight the forgetting curve by reviewing flashcards & notes using spaced repetiti
4444
3. Display the Obsidian command dialog to access the plugin [commands](plugin-commands.md)<br/>
4545
4. `Flashcard Review Icon` Select a flashcard [deck](flashcards/reviewing.md#deck-selection) to [review](flashcards/reviewing.md#reviewing) <br/>
4646
5. Identify that flashcards within this note are in the `#flashcards/science/physics` [deck](flashcards/decks.md#using-obsidian-tags)<br/>
47-
6. A [single line question](flashcards/qanda-cards.md#single-line-basic) (identified by the `::` separating the question and answer)<br/>
47+
6. A [single line question](flashcards/q-and-a-cards.md#single-line-basic) (identified by the `::` separating the question and answer)<br/>
4848
7. The plugin stores scheduling info within this [HTML comment](data-storage.md#individual-markdown-files) <br/>
4949
8. `Spaced Repetition Status Area` The number of notes and flashcards currently due for review. Click to [open a note for review](notes.md#selecting-a-note-for-review).
5050

@@ -69,5 +69,3 @@ You can easily install the plugin from Obsidian's community plugin section in th
6969
## Support
7070

7171
<a href='https://ko-fi.com/M4M44DEN6' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://cdn.ko-fi.com/cdn/kofi3.png?v=2' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>
72-
73-
<a href="https://jb.gg/OpenSourceSupport" target="_blank"><img src="https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.png" height='128' style='border:0px;height:128px;' alt="JetBrains Logo (Main) logo."></a>
File renamed without changes.

0 commit comments

Comments
 (0)