-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #234 from lsst/tickets/DM-42142
DM-42142: Release new Markdown and reStructuredText technote templates
- Loading branch information
Showing
104 changed files
with
170 additions
and
30,955 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
...es/technote_md_early_adopter/CHANGELOG.md → project_templates/technote_md/CHANGELOG.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...echnote_md_early_adopter/templatekit.yaml → ...ct_templates/technote_md/templatekit.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ html: | |
|
||
.PHONY: | ||
lint: | ||
tox run -e lint,link-check | ||
tox run -e lint,linkcheck | ||
|
||
.PHONY: | ||
add-author: | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ html: | |
|
||
.PHONY: | ||
lint: | ||
tox run -e lint,link-check | ||
tox run -e lint,linkcheck | ||
|
||
.PHONY: | ||
add-author: | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
26 changes: 0 additions & 26 deletions
26
project_templates/technote_md_early_adopter/testn-000/Makefile
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,11 @@ | ||
# Change log | ||
|
||
## 2021-05-13 | ||
## 2023-12-17 | ||
|
||
- The `.gitattributes` file now helps suppress the vendored bibtex files from [GitHub pull requests and linguist stats](https://docs.github.com/en/github/administering-a-repository/customizing-how-changed-files-appear-on-github). | ||
- The new reStructuredText technote template is now generally available. | ||
|
||
## 2020-12-10 | ||
## 2023-10-13 | ||
|
||
- The RTN technote series is now hosted in the "lsst" GitHub organization. | ||
|
||
## 2020-06-04 | ||
|
||
- Switch to GitHub Actions for continuous integration and deployment, replacing Travis CI. | ||
|
||
## 2020-05-25 | ||
|
||
- Add support for the RTN technote series for operations. | ||
|
||
## 2019-11-03 | ||
|
||
- Update to the current versions of Documenteer, >=0.5.4, <0.6. | ||
|
||
## 2019-10-21 | ||
|
||
- Fix support for the TSTN series. | ||
|
||
## 2019-10-08 | ||
|
||
- Template variables that are inserted into `metadata.yaml` are now fully escaped. | ||
This means that titles, authors, and descriptions can have characters like single and double quotes, and backslashes. | ||
|
||
## 2019-08-26 | ||
|
||
- Add support for the Telescope & Site technote series (TSTN). | ||
|
||
## 2019-07-29 | ||
|
||
- Add support for the ITTN technote series for LSST IT. | ||
|
||
## 2019-04-17 | ||
|
||
- Ported from the [lsst-technote-bootstrap](https://github.com/lsst-sqre/lsst-technote-bootstrap) repository. | ||
This templates repository replaces that original project and is now the canonical template for Sphinx-based technotes. | ||
|
||
- Added the `templatekit.yaml` configuration. | ||
|
||
- Adopted the full text of the CC-BY license so that GitHub's licensee can detect the license for our technotes. | ||
|
||
- Adopted the project-standard [COPYRIGHT file](https://developer.lsst.io/legal/copyright-overview.html). | ||
|
||
- Switched to [LTD Conveyor](https://ltd-conveyor.lsst.io) as the upload client for LSST the Docs. | ||
[LTD Mason](https://ltd-mason.lsst.io) is deprecated. | ||
- Created the `technote_rst_early_adopter` template based on the `technote_rst` template. | ||
This template is intended for early adopters of the new RST-based technote format. | ||
It will replace `technote_rst` once both [Documenteer](https://documenteer.lsst.io) and [Technote](https://technote.lsst.io) get 1.0 releases. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,18 @@ | ||
from templatekit.builder import cookiecutter_project_builder | ||
|
||
# Run cookiecutter to generate the 'TESTN-000' report | ||
env = Environment(BUILDERS={'Cookiecutter': cookiecutter_project_builder}) | ||
env.Cookiecutter(AlwaysBuild(Dir('TESTN-000')), | ||
'cookiecutter.json', | ||
cookiecutter_context={'series': 'TESTN'}) | ||
env = Environment(BUILDERS={"Cookiecutter": cookiecutter_project_builder}) | ||
env.Cookiecutter( | ||
AlwaysBuild(Dir("TESTN-000")), | ||
"cookiecutter.json", | ||
cookiecutter_context={ | ||
"series": "TESTN", | ||
"first_author_given": "First", | ||
"first_author_family": "Author", | ||
"first_author_orcid": "https://orcid.org/0000-0003-3001-676X", | ||
"first_author_author_id": "test", | ||
"first_author_affil_name": "Rubin Observatory", | ||
"first_author_affil_internal_id": "RubinObs", | ||
"first_author_affil_address": ("950 N. Cherry Ave., Tucson, AZ 85719, USA",), | ||
}, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
_build/ | ||
.technote/ | ||
.tox/ | ||
venv/ | ||
.venv/ |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,26 @@ | ||
# Makefile for Sphinx documentation | ||
# | ||
|
||
# You can set these variables from the command line. | ||
SPHINXOPTS = -W --keep-going -n | ||
SPHINXBUILD = sphinx-build | ||
PAPER = | ||
BUILDDIR = _build | ||
|
||
# User-friendly check for sphinx-build | ||
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1) | ||
$(error The '$(SPHINXBUILD)' command was not found. Try 'running pip install -r requirements.txt' to get the necessary Python dependencies.) | ||
endif | ||
|
||
# Internal variables. | ||
PAPEROPT_a4 = -D latex_paper_size=a4 | ||
PAPEROPT_letter = -D latex_paper_size=letter | ||
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . | ||
# the i18n builder cannot share the environment and doctrees with the others | ||
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . | ||
|
||
.PHONY: help clean html epub changes linkcheck refresh-bib | ||
|
||
help: | ||
@echo "Please use \`make <target>' where <target> is one of" | ||
@echo " html to make standalone HTML files" | ||
@echo " epub to make an epub" | ||
@echo " linkcheck to check all external links for integrity" | ||
@echo " refresh-bib to update LSST bibliographies in lsstbib/" | ||
|
||
clean: | ||
rm -rf $(BUILDDIR)/* | ||
.PHONY: | ||
init: | ||
pip install tox pre-commit | ||
pre-commit install | ||
|
||
.PHONY: | ||
html: | ||
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html | ||
@echo | ||
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html." | ||
tox run -e html | ||
|
||
epub: | ||
$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub | ||
@echo | ||
@echo "Build finished. The epub file is in $(BUILDDIR)/epub." | ||
.PHONY: | ||
lint: | ||
tox run -e lint,linkcheck | ||
|
||
changes: | ||
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes | ||
@echo | ||
@echo "The overview file is in $(BUILDDIR)/changes." | ||
.PHONY: | ||
add-author: | ||
tox run -e add-author | ||
|
||
linkcheck: | ||
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck | ||
@echo | ||
@echo "Link check complete; look for any errors in the above output " \ | ||
"or in $(BUILDDIR)/linkcheck/output.txt." | ||
.PHONY: | ||
sync-authors: | ||
tox run -e sync-authors | ||
|
||
refresh-bib: | ||
refresh-lsst-bib -d lsstbib | ||
@echo | ||
@echo "Commit the new bibliographies: git add lsstbib && git commit -m \"Update bibliographies.\"" | ||
.PHONY: | ||
clean: | ||
rm -rf _build | ||
rm -rf .technote | ||
rm -rf .tox |
Oops, something went wrong.