git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 4/5] doc: use .adoc extension for AsciiDoc files

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 6, 2025, 23:47 UTC
Message-ID
<xmqqh656hbzy.fsf@gitster.g>
In-Reply-To
<xmqqo6zeixnk.fsf@gitster.g>
Junio C Hamano <gitster@pobox.com> writes:
Show 11 quoted lines
>> Hi Brian. How about also renaming SubmittingPatches to
>> SubmittingPatches.adoc? This is AsciiDoc according to 049e64aa50
>> (Documentation: convert SubmittingPatches to AsciiDoc, 2017-11-12).
>
> Do we pass SubmittingPatches (and CodingGuidelines for that matter)
> through AsciiDoc?  They do not even have .txt suffix, so I suspect
> it is not.
>
> I would prefer to see the general rule to be to rename s/txt/adoc/
> ONLY for files that we actually use AsciiDoc to convert to HTML or
> manpages, and leave other sleeping dogs unmolested.
The above is for ultra short-term.

Once the main part of the documentation changes to .adoc graduates to 'master', I do not mind another topic that updates those without the .txt suffix to learn to be formatted with AsciiDoc. And as a part of such an effort, such files will gain the .adoc suffix since that is how the Makefile finds which files to format with AsciiDoc.

We might decide not to format them with AsciiDoc simply because we have nowhere to _install_ them, though. Even in such a case, we may still want to give them the .adoc suffix, just to help editors.

Thanks.
Previous: Junio C HamanoNext: D. Ben Knoble
Message 12 of 19 in “Convert AsciiDoc files to .adoc extension”
  1. 0/5 Convert AsciiDoc files to .adoc extensionbrian m. carlson, Jan 20, 2025
  2. 2/5 editorconfig: add .adoc extensionbrian m. carlson, Jan 20, 2025
  3. 3/5 gitattributes: mark AsciiDoc files as LF-onlybrian m. carlson, Jan 20, 2025
  4. 1/5 doc: update gitignore for .adoc extensionbrian m. carlson, Jan 20, 2025
  5. 4/5 doc: use .adoc extension for AsciiDoc filesbrian m. carlson, Jan 20, 2025
  6. Jean-Noël AvilaJan 20, 2025
  7. brian m. carlsonJan 20, 2025
  8. Junio C HamanoJan 20, 2025
  9. Jean-Noël AvilaJan 21, 2025
  10. M HickfordFeb 6, 2025
  11. Junio C HamanoFeb 6, 2025
  12. Junio C HamanoFeb 6, 2025
  13. D. Ben KnobleFeb 7, 2025
  14. Junio C HamanoFeb 7, 2025
  15. Junio C HamanoFeb 7, 2025
  16. brian m. carlsonFeb 7, 2025
  17. 5/5 Remove obsolete ".txt" extensions for AsciiDoc filesbrian m. carlson, Jan 20, 2025
  18. M HickfordJan 20, 2025
  19. D. Ben KnobleJan 20, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.