Skip to content

Commit

Permalink
Add new files for technote2 migration
Browse files Browse the repository at this point in the history
  • Loading branch information
frossie committed Dec 27, 2023
1 parent 55736ed commit 3b4e441
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
# - id: trailing-whitespace
- id: check-yaml
- id: check-toml
25 changes: 25 additions & 0 deletions technote.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[technote]
id = "SQR-080"
series_id = "SQR"
canonical_url = "https://sqr-080.lsst.io/"
github_url = "https://github.com/lsst-sqre/sqr-080"
github_default_branch = "main"
organization.name = "Vera C. Rubin Observatory"
organization.ror = "https://ror.org/048g3cy84"
license.id = "CC-BY-4.0"
[[technote.authors]]
name = {given = "Frossie", family = "Economou"}
internal_id = "economouf"
orcid = "https://orcid.org/0000-0002-8333-7615"
[[technote.authors.affiliations]]
name = "Rubin Observatory Project Office"
internal_id = "RubinObs"
address = "950 N. Cherry Ave., Tucson, AZ 85719, USA"

[[technote.authors]]
name = {given = "Russ", family = "Allbery"}
internal_id = "allberyr"
[[technote.authors.affiliations]]
name = "Rubin Observatory Project Office"
internal_id = "RubinObs"
address = "950 N. Cherry Ave., Tucson, AZ 85719, USA"
29 changes: 29 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[tox]
environments = html
isolated_build = True

[testenv]
skip_install = true
deps =
-rrequirements.txt

[testenv:html]
commands =
sphinx-build --keep-going -n -W -T -b html -d _build/doctrees . _build/html

[testenv:linkcheck]
commands =
sphinx-build --keep-going -n -W -T -b linkcheck -d _build/doctrees . _build/linkcheck

[testenv:lint]
deps = pre-commit
commands =
pre-commit run --all-files

[testenv:add-author]
commands =
documenteer technote add-author

[testenv:sync-authors]
commands =
documenteer technote sync-authors

0 comments on commit 3b4e441

Please sign in to comment.