Skip to content

Commit bf0b9d7

Browse files
committed
docs/src: add missing anchors
1 parent d1b398c commit bf0b9d7

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

docs/src/modules/introduction-nixos.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ delib.module {
103103

104104
For more information on Denix options, see the [Options](/TODO) section.
105105

106-
## Creating Your Own Modules (Options)
106+
## Creating Your Own Modules (Options) {#creating-own-modules}
107107
Declaring your own options is a great practice if you want to enable or disable certain parts of the code. This can be useful if you have multiple hosts (machines) with the same configuration, and, for example, machine `foo` does not need a program that is used on machine `bar`.
108108

109109
An example of a NixOS module for simple git configuration:

docs/src/modules/introduction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Introduction to Denix Modules {#introduction}
22
A Denix module is the same as a NixOS or Home Manager module, but its attribute set is wrapped in the [`delib.module`](/modules/structure) function.
33

4-
## No Limitations
4+
## No Limitations {#no-limitations}
55
This means that you can use all three types of modules simultaneously, although it's unlikely you'll need anything other than the first option:
66

77
### Denix Module
@@ -28,7 +28,7 @@ This means that you can use all three types of modules simultaneously, although
2828
}
2929
```
3030

31-
## Simplicity and Cleanliness
31+
## Simplicity and Cleanliness {#simplicity-and-cleanliness}
3232
Denix modules tend to look simpler and cleaner compared to NixOS/Home Manager modules, due to the following reasons:
3333

3434
1. Simple yet fully functional option declaration (see [Options](/TODO)).

docs/src/ru/modules/introduction-nixos.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ optionName = lib.mkOption {
101101

102102
Более подробно о опциях Denix можно узнать в разделе [Опции](/TODO).
103103

104-
## Создание своих модулей (опций)
104+
## Создание своих модулей (опций) {#creating-own-modules}
105105
Декларирование своих опций - отличная практика, если вы хотите включать и отключать части кода. Это может понадобиться, если у вас несколько хостов (машин) с одной конфигурацией, и, например, машине `foo` не нужна программа, которая используется на машине `bar`.
106106

107107
Пример NixOS-модуля для простой настройки git:

docs/src/ru/modules/introduction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Введение в модули Denix {#introduction}
22
Модуль Denix - это тот же самый модуль NixOS или Home Manager, но его attribute set обёрнут в функцию [`delib.module`](/ru/modules/structure).
33

4-
## Отсутствие ограничений
4+
## Отсутствие ограничений {#no-limitations}
55
Это означает, что вы можете использовать все три варианта модулей одновременно, хотя маловероятно, что вам понадобятся другие варианты, кроме первого:
66

77
### Denix модуль
@@ -28,7 +28,7 @@
2828
}
2929
```
3030

31-
## Простота и чистота
31+
## Простота и чистота {#simplicity-and-cleanliness}
3232
Модули Denix в большинстве случаев выглядят проще и чище, чем модули NixOS/Home Manager, по следующим причинам:
3333

3434
1. Простое, но при этом полноценное декларирование опций (см. [Опции](/TODO)).

0 commit comments

Comments
 (0)