Skip to content

Commit b3d750a

Browse files
author
Oleksandr Kulkov
committed
Add tags support, set tags for algebra articles
1 parent d69bde9 commit b3d750a

31 files changed

+170
-1
lines changed

.github/workflows/deploy-prod.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
- name: Build pages
3737
env:
3838
MKDOCS_GIT_COMMITTERS_APIKEY: ${{ secrets.PAT_API_KEY }}
39+
MKDOCS_ENABLE_GIT_REVISION_DATE: True
3940
run: |
4041
mkdocs build --strict
4142
- uses: FirebaseExtended/action-hosting-deploy@v0

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
- name: Build pages
3535
env:
3636
MKDOCS_GIT_COMMITTERS_APIKEY: ${{ secrets.PAT_API_KEY }}
37+
MKDOCS_ENABLE_GIT_REVISION_DATE: True
3738
run: |
3839
mkdocs build --strict
3940
- name: Run algorithm code tests

mkdocs.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,21 +46,25 @@ markdown_extensions:
4646
- pymdownx.emoji:
4747
emoji_index: !!python/name:materialx.emoji.twemoji
4848
emoji_generator: !!python/name:materialx.emoji.to_svg
49+
- meta
4950

5051
plugins:
5152
- mkdocs-simple-hooks:
5253
hooks:
5354
on_env: "hooks:on_env"
5455
- search
56+
- tags:
57+
tags_file: tags.md
5558
- literate-nav:
5659
nav_file: navigation.md
5760
- git-revision-date-localized:
5861
enable_creation_date: true
62+
enabled: !ENV [MKDOCS_ENABLE_GIT_REVISION_DATE, False]
5963
- git-authors
6064
- git-committers:
6165
repository: e-maxx-eng/e-maxx-eng
6266
docs_path: src/
63-
token: !!python/object/apply:os.getenv ["MKDOCS_GIT_COMMITTERS_APIKEY"]
67+
token: !ENV MKDOCS_GIT_COMMITTERS_APIKEY
6468
- macros
6569

6670
extra:

src/algebra/all-submasks.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
tags:
3+
- Translated
4+
- "From: e-maxx.ru"
5+
---
6+
17
# Submask Enumeration
28

39
## Enumerating all submasks of a given mask

src/algebra/balanced-ternary.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
tags:
3+
- Translated
4+
- "From: e-maxx.ru"
5+
---
6+
17
# Balanced Ternary
28

39
!["Setun computer using Balanced Ternary system"](http://ternary.3neko.ru/photo/setun1_small.jpg)

src/algebra/big-integer.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
tags:
3+
- Translated
4+
- "From: e-maxx.ru"
5+
---
6+
17
# Arbitrary-Precision Arithmetic
28

39
Arbitrary-Precision arithmetic, also known as "bignum" or simply "long arithmetic" is a set of data structures and algorithms which allows to process much greater numbers than can be fit in standard data types. Here are several types of arbitrary-precision arithmetic.

src/algebra/binary-exp.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
tags:
3+
- Translated
4+
- "From: e-maxx.ru"
5+
---
6+
17
# Binary Exponentiation
28

39
Binary exponentiation (also known as exponentiation by squaring) is a trick which allows to calculate $a^n$ using only $O(\log n)$ multiplications (instead of $O(n)$ multiplications required by the naive approach).

src/algebra/chinese-remainder-theorem.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
tags:
3+
- Translated
4+
- "From: e-maxx.ru"
5+
---
6+
17
# Chinese Remainder Theorem
28

39
The Chinese Remainder Theorem (which will be referred to as CRT in the rest of this article) was discovered by Chinese mathematician Sun Zi.

src/algebra/continued-fractions.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
tags:
3+
- Original
4+
- "Author: adamant"
5+
---
6+
17
<!--?title Continued fractions -->
28
# Continued fractions
39

src/algebra/discrete-log.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
tags:
3+
- Translated
4+
- "From: e-maxx.ru"
5+
---
6+
17
# Discrete Logarithm
28

39
The discrete logarithm is an integer $x$ satisfying the equation

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy