aboutsummaryrefslogtreecommitdiff
path: root/doc/conf.py
AgeCommit message (Collapse)Author
2025-06-22doc/emacs: start a section on notmuch-message-modeDavid Bremner
This is mostly just copying docstrings, but putting them into sections makes them more discoverable.
2025-01-26docs: add 2025 to copyright yearsDavid Bremner
2024-03-09doc: update copyright years to include 2024David Bremner
2023-08-24doc: update copyright date0.38_rc0David Bremner
2022-08-11doc/emacs: replace use of emacsvar with el:defcustomDavid Bremner
Mainly this allows dropping the ad-hoc directive emacsvar
2022-08-11doc/emacs: replace emacscmd with el:define-keyDavid Bremner
This allows us to eliminate the ad-hoc emacscmd directive / role, and improve indexing. doc/emacs: convert remaining uses of emacscmd to define-key This allows us to remove the no-longer used object type.
2022-08-11doc: copy elisp.py from flycheck, make availableDavid Bremner
This corresponds to flycheck commit 1702d2db3d8ba9bcb9b2bf810e791e907fcc3adc, which is apparently the last time this file was modified (2018). Embedding seems defensible since the file is evidently not changing that much, and we need to change some labels to make it fit with the not-just-emacs nature of notmuch docs.
2022-07-15doc/emacs: define and use emacsvar and emacscmd markupDavid Bremner
This makes it easier to navigate the merged index of all of the notmuch documentation.
2022-07-14doc: do not generate python module indexDavid Bremner
This currently seems unhelpful, and not generating it removes if from the navigation bar, which prevents mis-clicking.
2022-07-14doc: improve config item labels in info outputDavid Bremner
Commit 306b7028d added the nmconfig role / directive. Unfortunately the default of using the directive name in texinfo output is pretty ugly, so attempt to make it more human readable by passing `objname` to add_object_type invocation.
2022-07-03doc: replace symlink with copies for nmbug, notmuch-setupDavid Bremner
Previously only man page aliases were being added as symlinks. The addition to man_pages in conf.py automatically propagates to the list of generated info pages. Installation of the new pages is handled by existing recipes.
2022-06-17doc/notmuch-git: initial documentationDavid Bremner
This is mainly derived from the various help outputs from the script, with some massaging of markup and addition of links.
2022-05-29doc/emacs: document a few notmuch-hello customizable variables.David Bremner
A user asked about the thousands separator on IRC, and I had to check the source.
2022-05-20doc: define and use semantic markup for configuration itemsDavid Bremner
This makes sure each configuration item is cross referenceable without extra markup, and also adds index entries.
2022-01-09doc: add 2022 to copyright years.debian/0.34.3-1archive/debian/0.34.3-10.34.3David Bremner
2021-12-03doc/python-cffi: import from built bindings, not installed moduleDavid Bremner
Previously the python-cffi bindings either failed to build, or built for the wrong module by using the installed module. The fix requires correction the module path, building the bindings before docs, and helping python find the built libnotmuch. Based on patch / discussion from Micheal Gruber [1] [1]: id:cover.1634808719.git.git@grubix.eu
2021-09-04lib/parse-sexp: parse single terms and the empty list.David Bremner
There is not much of a parser here yet, but it already does some useful error reporting. Most functionality sketched in the documentation is not implemented yet; detailed documentation will follow with the implementation.
2021-08-22doc: read notmuch-tree.rsti for rst_epilogDavid Bremner
This is needed so that docstrings from notmuch-tree.el (in particular notmuch-tree-toggle-order) can be used in the emacs documentation.
2021-05-22doc: use manpage role references to external man pagesJani Nikula
Using manpage role references generates helpful links in html documentation, while retaining the same boldface style in the man pages. The external man page site is configurable. The Debian manpage site seems like a good fit for Notmuch.
2021-05-19doc: fix man page build for Sphinx 4.xJani Nikula
Sphinx 4.0 changed the default value of man_make_section_directory from False to True. We create the section directories and move the files manually, so fix the immediate man build failure by disabling the feature. The Sphinx documentation on this [1] is confusing, and has the change backwards. Git history says the default changed from False to True. [1] https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-man_make_section_directory
2021-02-18doc: bump copyright yearDavid Bremner
2020-10-30Rename version to version.txtRalph Seichter
Building Notmuch on macOS is known to cause problems because the Notmuch distribution archive contains two files named "version". These names clash with the <version> header as defined in C++20. Therefore, the existing naming will likely become a problem on other platforms as well, once compilers adopt the new standard. Signed-off-by: Ralph Seichter <github@seichter.de> Amended-by: db s/keyword/header/ in commit message.
2020-07-15doc: add new python bindings to main documentation tree.David Bremner
A separate conf.py and doc directory (or will be needed if someone wants to build the bindings docs separately from notmuch.
2020-07-15doc: replace use of environment variables with a generated configDavid Bremner
It is getting unwieldy to pass configuration options on the sphinx-build command line, and I anticipate further use of conditionals. As far as I could tell, execing a string is the idiomatic way to emulate include in Python.
2020-06-01bump date in documentationDavid Bremner
2020-06-01doc: fix for out-of-tree builds of notmuch-emacs docsDavid Bremner
The sphinx-doc include directive does not have the ability to include files from the build tree, so we replace the include with reading the files in conf.py. The non-trivial downside of this is that the emacs docstrings are now defined for every rst source file. They are namespaced with docstring::, so hopefully there will not be any surprises. One thing that is noticable is a small (absolute) time penalty in running sphinx-doc.
2019-06-12build: drop variable HAVE_EMACS. use WITH_EMACS insteadDavid Bremner
The extra flexibility of having both HAVE_EMACS (for yes, there is an emacs we can use) and WITH_EMACS (the user wants emacs support) lead to confusion and bugs. We now just force WITH_EMACS to 0 if no suitable emacs is detected.
2019-06-10doc: don't build notmuch-emacs.info for configure --without-emacsDavid Bremner
Since the docstrings are not built in the case of --without-emacs, even if emacs is detected, don't let sphinx build the emacs docs. This avoids a large number of error messages due to missing includes. It's actually a bit surprising sphinx doesn't generate an error for the missing include files.
2019-04-24doc: exclude notmuch-emacs.rst if emacs is not present.David Bremner
This will still generate a warning about an excluded document in the toctree, but it cuts down on the noise quite a lot.
2019-02-01bump copyright yeardebian/0.28.1-1archive/debian/0.28.1-10.28.1David Bremner
2018-01-01doc: add 2018 to copyright yearDavid Bremner
2017-10-21doc: add notmuch-properties(7)Daniel Kahn Gillmor
We will want a user-facing place to record details about the use of notmuch properties shortly. This establishes a new manual page for that purpose.
2017-08-20doc: Disable SmartyPants in generated manual pagesVladimir Panteleev
By default, Sphinx tries to pre-process text through SmartyPants, which attempts to convert ASCII quotes and dashes to Unicode characters. Unfortunately, this mangles technical text such as command lines. For instance, this excerpt from notmuch-tag.rst: **notmuch** **tag** **--batch** [--input=<*filename*>] got turned into: notmuch tag –batch [–input=<filename>] That's an en-dash and an em-dash respectively. Not only are these characters visually confusing and could easily be mistaken for a single dash, copying and pasting such command lines into a terminal is doomed to result in incomprehensible error messages. * doc/conf.py: Disable SmartyPants.
2017-08-01add "notmuch reindex" subcommandDaniel Kahn Gillmor
This new subcommand takes a set of search terms, and re-indexes the list of matching messages.
2017-01-08Merge branch 'release'David Bremner
These are the (tentative) changes for 0.23.5
2017-01-08docs: add 2017 to copyright yearsDavid Bremner
2016-11-17doc/conf.py: include command name in texinfo document titleJani Nikula
Seems to make more sense than to have the same title for everything.
2016-11-17doc/conf.py: reindent, whitespace clean man page, texinfo listsJani Nikula
No functional changes.
2016-11-17doc/conf.py: abstract notmuch authorsJani Nikula
Don't repeat the same stuff so much. We probably don't want to track individual authors for man/texinfo pages anyway. No user visible changes.
2016-11-17doc/conf.py: generate texinfo_documents list from man_pages listJani Nikula
No need to repeat mostly the same information twice in conf.py. We probably want to have a corresponding texinfo document for all the man pages. Python list comprehension to the rescue. (The reverse is not true; we have a texinfo document for notmuch-emacs we don't want as a man page.) There should be no user visible changes.
2016-11-17doc/conf.py: add notmuch-emacs-mua to texinfo documentsJani Nikula
This was overlooked when adding the man page.
2016-04-24doc: change copyright dateDavid Bremner
Yes, it is 2016
2015-10-17doc: update copyright year to contain range 2009-2015Tomi Ollila
Now it is accurate and provides more information to the reader of the documents.
2015-03-06cli: add a tool for starting new message in the emacs uiJani Nikula
Add a tool to start composing an email in the Notmuch Emacs UI with the specified subject, recipients, and message body.
2014-11-05doc: add notmuch-address.rst to sphinx configDavid Bremner
This is needed so that the rst docs are converted to man and info pages.
2014-10-04doc: build notmuch-emacs info/html docs, link from indexDavid Bremner
Although this manual is far from complete, it may be helpful for someone. In particular building it as part of the standard build process makes it easier to find problems when editing the notmuch-emacs-manual.
2014-05-28doc/conf.py: Remove _static from html_static_pathW. Trevor King
Avoid: $ make HAVE_SPHINX=1 sphinx-html python ./doc/mkdocdeps.py ./doc doc/_build doc/docdeps.mk sphinx-build -b html -d doc/_build/doctrees -q ./doc doc/_build/html Making output directory... WARNING: html_static_path entry '/home/wking/src/notmuch/notmuch/doc/_static' does not exist because we have no static source in doc/_static.
2014-03-09doc: automatically read version from fileDavid Bremner
This avoids having to recreate the update-man-versions rule
2014-03-09doc: convert sphinx based docsDavid Bremner
This is the output from sphinx-quickstart, massaged a bit, along with our existing man pages converted to rst. A skeleton notmuch-emacs manual is also included. It is not suitable for end user use yet.