Code

Opened 18 months ago

Closed 18 months ago

Last modified 18 months ago

#19266 closed New feature (fixed)

Add documentation target for texinfo format

Reported by: orontee Owned by: nobody
Component: Documentation Version: 1.4
Severity: Normal Keywords: documentation texinfo
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: no UI/UX: no

Description

Sphinx has a builder for texinfo format. It builds a correct version of the documentation in texinfo format after editing docs/conf.py in the following way. It would be usefull to have a targets in docs/Makefile and docs/make.bat that build that documentation.

diff --git a/docs/conf.py b/docs/conf.py
index ced3fef..f4c13cf 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -286,3 +286,9 @@ epub_copyright = '2010, Django Software Foundation'

# Allow duplicate toc entries.
#epub_tocdup = True

+
+# -- Options for Texinfo output ------------------------------------------------
+
+# List of tuples (startdocname, targetname, title, author, dir_entry,
+# description, category, toctree_only)
+texinfo_documents=[(master_doc, "django", "", "", "Django", "Documentation of the Django framework", "Web development", False)]

Attachments (0)

Change History (2)

comment:1 Changed 18 months ago by Claude Paroz <claude@…>

  • Resolution set to fixed
  • Status changed from new to closed

In a79d920a56e7200b6259e60f7811162c07c7651d:

Fixed #19266 -- Added Texinfo documentation target

Thanks orontee for the report and initial patch.

comment:2 Changed 18 months ago by Claude Paroz <claude@…>

In 087274d08f40b7d3e37a6d138789bd4ec4903139:

[1.5.x] Fixed #19266 -- Added Texinfo documentation target

Thanks orontee for the report and initial patch.
Backport of a79d920a56 from master.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.