Skip to content

Commit

Permalink
initial mdbook setup
Browse files Browse the repository at this point in the history
  • Loading branch information
geekyayush committed May 18, 2024
1 parent e52d853 commit c66db42
Show file tree
Hide file tree
Showing 11 changed files with 600 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Auto detect text files and perform LF normalization
* text=auto

# Make Linguist include Markdown in stats
# https://github.com/github-linguist/linguist/blob/master/docs/overrides.md
*.md linguist-detectable
33 changes: 33 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
commit-message:
prefix: "chore(deps/npm):"
labels:
- "t-dependencies"
- "pkg-npm"
groups:
markdownlint:
patterns:
- markdownlint-cli2
- markdownlint-config-neoncitylights
open-pull-requests-limit: 4

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
commit-message:
prefix: "chore(deps/actions):"
labels:
- "t-dependencies"
- "pkg-gh-actions"
open-pull-requests-limit: 4
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
book
node_modules
.history
24 changes: 24 additions & 0 deletions .markdownlint-cli2.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/**
* Repository: https://github.com/DavidAnson/markdownlint-cli2
* Configuration: https://github.com/DavidAnson/markdownlint-cli2?tab=readme-ov-file#markdownlint-cli2jsonc
*/
{
"config": {
"extends": "markdownlint-config-neoncitylights",
"MD001": true,
"MD002": {
"level": 1
},
"MD003": {
"style": "atx"
},
"MD004": {
"style": "consistent"
},
"MD010": {
"code_blocks": false
},
"MD013": false,
"MD040": true
}
}
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v18.16.0
15 changes: 15 additions & 0 deletions book.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[book]
title = "Markdown Book"
authors = ["{{author}}"]
language = "en"
multilingual = false
src = "src"

[build]
create-missing = false

[rust]
edition = "2021"

[output.html]
git-repository-url = "https://github.com/geekyayush/bend-langmdbook"
Loading

0 comments on commit c66db42

Please sign in to comment.