Skip to content

Commit e5cd5d7

Browse files
authored
Merge pull request #727 from lsst-dm/tickets/DM-52208
DM-52208: Update instructions on creating a technote
2 parents 6d3b92d + b6616ca commit e5cd5d7

File tree

1 file changed

+32
-60
lines changed

1 file changed

+32
-60
lines changed

project-docs/technotes.rst

Lines changed: 32 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,10 @@ Technote series
6868

6969
.. _which-series:
7070

71-
Operations vs Construction
72-
==========================
73-
The DMTN and SQR series will still exist in operations and so it may still be used.
71+
Operations vs construction
72+
--------------------------
73+
74+
The DMTN and SQR series still exist in operations and so it may still be used.
7475
In general if a topic fits in a given series use the series without hesitation.
7576

7677
.. _technote-create:
@@ -79,77 +80,48 @@ Create a technote
7980
=================
8081

8182
Creating a new technote is easy and takes just a moment.
82-
In Slack, open a |dmw-squarebot| and type:
83+
In the rubin-obs Slack, send a message to Squarebot:
8384

8485
.. code-block:: text
8586
86-
create project
87+
/msg @Squarebot create project
88+
89+
From the drop-down, select **Documents > Technote <format>** for the format you wish to work in:
90+
91+
- ``Documents > Technote (reStructuredText)`` creates web-native technotes using the same reStructuredText markup as Python docstrings and most Sphinx documentation
92+
- ``Documents > Technote (Markdown)`` use the same HTML output as above, but with Markdown syntax
93+
- ``Documents > Technote (lsstdoc LaTeX)`` is the LaTeX format for Rubin documents (PDF output)
94+
- ``Documents > Technote (AASTeX LaTeX)`` for AAS preprints (PDF output)
95+
- ``Documents > Technote (ADASS LaTeX)`` for ADASS conference proceedings (PDF output)
96+
- ``Documents > Technote (ASCOM LaTeX)`` for Astronomy & Computing preprints (PDF output)
97+
- ``Documents > Technote (SPIE LaTeX)`` for SPIE conference proceedings (PDF output)
8798

88-
From the drop-down, select **Documents > Technote (reStructuredText)** or **(lsstdoc LaTeX)** depending on the format you wish to work in.
8999
Once you select the template type and fill in the form on Slack, the bot will create and configure the technote on GitHub.
90100
Watch for Slack messages from the bot about the technote's GitHub repository and publication URL.
91101

92-
Any time you push to GitHub, your technote will be republished at its ``lsst.io`` site.
93-
Pushes to the ``main`` branch update your technote's main page, while updates to other branches update preview editions behind the ``/v/`` URL path.
94-
Click on the **Switch editions** or **Change version** link from your published technote to get links for other editions.
102+
.. tip::
95103

96-
.. _technote-latex:
104+
The template form asks for your *author ID*.
105+
You can find your author ID in the `Author DB Google Sheet <https://docs.google.com/spreadsheets/d/1_zXLp7GaIJnzihKsyEAz298_xdbrgxRgZ1_86kwhGPY/edit?usp=drivesdk>`__.
106+
Send a pull request to update your entry in `authordb.yaml <https://github.com/lsst/lsst-texmf/blob/main/etc/authordb.yaml>`__, or use the Google form linked from the ``#all-users`` channel in Slack.
97107

98-
Working with LaTeX-formatted technotes
99-
======================================
108+
Updating a technote
109+
-------------------
100110

101-
LaTeX-formatted technotes use the ``lsstdoc`` class.
102-
The `lsst-texmf documentation <https://lsst-texmf.lsst.io/lsstdoc.html>`__ explains how to write ``lsstdoc``-based documents.
111+
Any time you push to GitHub, your technote will be republished at its ``lsst.io`` site.
112+
Pushes to the ``main`` branch update your technote's main page, while updates to other branches update preview editions behind the ``/v/`` URL path.
113+
Click on the **Switch editions** or **Change version** link from your published technote to get links for other editions.
103114

104115
.. _technote-rst:
105116

106-
Working with reStructuredText-formatted technotes
107-
=================================================
108-
109-
See the :doc:`/restructuredtext/style` for a primer on writing reStructuredText.
110-
The sections below deal with specific issues for technote projects.
111-
112-
.. _technote-rst-bib:
113-
114-
Using bibliographies in reStructuredText technotes
115-
--------------------------------------------------
117+
Working with reStructuredText or Markdown technotes
118+
---------------------------------------------------
116119

117-
The lsst-texmf project includes `shared BibTeX bibliographic databases <https://lsst-texmf.lsst.io/lsstdoc.html#bibliographies>`_.
118-
You can also use these bibliographies from reStructuredText technotes.
120+
See the `Documenteer technote documentation <https://documenteer.lsst.io/technotes/index.html>`__ for information on writing and building reStructuredText or Markdown technotes.
119121

120-
First, add or uncomment the ``bibliography`` directive at the bottom of your technote's :file:`index.rst` file:
121-
122-
.. code-block:: rst
123-
124-
.. bibliography:: local.bib lsstbib/books.bib lsstbib/lsst.bib lsstbib/lsst-dm.bib lsstbib/refs.bib lsstbib/refs_ads.bib
125-
:style: lsst_aa
126-
127-
.. note::
128-
129-
Only include the :file:`local.bib` file if your technote's repository has one.
130-
Use :file:`local.bib` to temporarily store bib items before you permanently `transfer them to the lsst-texmf project <https://lsst-texmf.lsst.io/developer.html#updating-bibliographies>`_.
131-
132-
The bibliographies in the :file:`lsstbib` directory are copies from the https://github.com/lsst/lsst-texmf repository.
133-
Refresh the copies maintained in your technote's repository by running this command:
134-
135-
.. code-block:: bash
136-
137-
make refresh-bib
138-
139-
To make citations in the technote's text, use the ``cite`` role.
140-
For example:
141-
142-
.. code-block:: rst
143-
144-
:cite:`2007PASP..119.1462B`
145-
146-
In-text citations are numbered, not author-year style.
147-
148-
.. _technote-rst-metadata:
122+
.. _technote-latex:
149123

150-
Editing metadata in reStructuredText technotes
151-
----------------------------------------------
124+
Working with LaTeX-formatted technotes
125+
--------------------------------------
152126

153-
ReStructuredText-format technotes use a :file:`metadata.yaml` in their repositories to describe attributes like the document's title, author list, and abstract.
154-
To change the technote's title or author list, for example, commit a change to the :file:`metadata.yaml` file.
155-
See the comments in :file:`metadata.yaml` for a description of these fields.
127+
The `lsst-texmf documentation <https://lsst-texmf.lsst.io/lsstdoc.html>`__ explains how to write ``lsstdoc``-based documents.

0 commit comments

Comments
 (0)