You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: project-docs/technotes.rst
+32-60Lines changed: 32 additions & 60 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,9 +68,10 @@ Technote series
68
68
69
69
.. _which-series:
70
70
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.
74
75
In general if a topic fits in a given series use the series without hesitation.
75
76
76
77
.. _technote-create:
@@ -79,77 +80,48 @@ Create a technote
79
80
=================
80
81
81
82
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:
83
84
84
85
.. code-block:: text
85
86
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)
From the drop-down, select **Documents > Technote (reStructuredText)** or **(lsstdoc LaTeX)** depending on the format you wish to work in.
89
99
Once you select the template type and fill in the form on Slack, the bot will create and configure the technote on GitHub.
90
100
Watch for Slack messages from the bot about the technote's GitHub repository and publication URL.
91
101
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::
95
103
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.
97
107
98
-
Working with LaTeX-formatted technotes
99
-
======================================
108
+
Updating a technote
109
+
-------------------
100
110
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.
103
114
104
115
.. _technote-rst:
105
116
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
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.
119
121
120
-
First, add or uncomment the ``bibliography`` directive at the bottom of your technote's :file:`index.rst` file:
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:
149
123
150
-
Editing metadata in reStructuredText technotes
151
-
----------------------------------------------
124
+
Working with LaTeX-formatted technotes
125
+
--------------------------------------
152
126
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