Skip to content

Commit

Permalink
Rename default branch as main
Browse files Browse the repository at this point in the history
  • Loading branch information
eemeli committed Mar 17, 2023
1 parent 6f6afd0 commit ef671c9
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Expand Up @@ -2,9 +2,9 @@ name: CodeQL

on:
push:
branches: [master]
branches: [main]
pull_request:
branches: [master]
branches: [main]
workflow_dispatch:

jobs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nodejs.yml
Expand Up @@ -2,9 +2,9 @@ name: Node.js

on:
pull_request:
branches: [master]
branches: [main]
push:
branches: [master]
branches: [main]
workflow_dispatch:

jobs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/typescript.yml
Expand Up @@ -2,9 +2,9 @@ name: TypeScript

on:
pull_request:
branches: [master]
branches: [main]
push:
branches: [master]
branches: [main]
workflow_dispatch:

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Expand Up @@ -11,4 +11,4 @@
[submodule "tests/json-test-suite"]
path = tests/json-test-suite
url = https://github.com/nst/JSONTestSuite.git
branch = master
branch = main
2 changes: 1 addition & 1 deletion docs/06_custom_tags.md
Expand Up @@ -99,7 +99,7 @@ stringify(

In YAML-speak, a custom data type is represented by a _tag_. To define your own tag, you need to account for the ways that your data is both parsed and stringified. Furthermore, both of those processes are split into two stages by the intermediate AST node structure.

If you wish to implement your own custom tags, the [`!!binary`](https://github.com/eemeli/yaml/blob/master/src/tags/yaml-1.1/binary.js) and [`!!set`](https://github.com/eemeli/yaml/blob/master/src/tags/yaml-1.1/set.js) tags provide relatively cohesive examples to study in addition to the simple examples in the sidebar here.
If you wish to implement your own custom tags, the [`!!binary`](https://github.com/eemeli/yaml/blob/main/src/tags/yaml-1.1/binary.js) and [`!!set`](https://github.com/eemeli/yaml/blob/main/src/tags/yaml-1.1/set.js) tags provide relatively cohesive examples to study in addition to the simple examples in the sidebar here.

### Parsing Custom Data

Expand Down
2 changes: 1 addition & 1 deletion docs/07_parsing_yaml.md
Expand Up @@ -171,7 +171,7 @@ For debug purposes, if the `LOG_TOKENS` env var is true-ish, all lexical tokens

### CST Nodes

For a complete description of CST node interfaces, please consult the [cst.ts source](https://github.com/eemeli/yaml/blob/master/src/parse/cst.ts).
For a complete description of CST node interfaces, please consult the [cst.ts source](https://github.com/eemeli/yaml/blob/main/src/parse/cst.ts).

Some of the most common node properties include:

Expand Down

0 comments on commit ef671c9

Please sign in to comment.