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

Re: [PATCH v3 1/2] Documentation: fix linkgit references

From
Jeff King <peff@peff.net>
Date
May 3, 2016, 17:58 UTC
Message-ID
<20160503175808.GA29877@sigill.intra.peff.net>
In-Reply-To
<E4A56B4E-6F2E-44E3-870B-D1D3A71B2869@gmail.com>
On Tue, May 03, 2016 at 10:30:09AM +0200, Lars Schneider wrote:
Show 9 quoted lines
> > So I think that's a step backwards. I did check the asciidoctor
> > rendering on git-scm.com, though, and it gets the {litdd} case wrong. So
> > I think it does need fixing, but we need a solution that looks correct
> > in both cases. Maybe linkgit:`git-web--browse`[1] would work; it seems
> > OK with my version of asciidoc, but I have a feeling it will run into
> > the same problem with asciidoctor (if it's not respecting {litdd} in
> > that context, it's probably also not respecting backticks).
> I will play with this to find a solution. Would it be an option to
> replace "--" with "-"? Why do we need two dashes if they cause trouble?

We use two dashes to signify "internal" programs that users should not rely on. So "git-web-browse" would be something we'd expect to support forever, but "git-web--browse" is an implementation detail of one of our scripts (that just happens to require an extra program).

So I don't think we want to switch away from that convention just to make the documentation work.

AFAICT, the {litdd} is working fine with asciidoc; it's only asciidoctor that is the problem. So the first step may be talking with asciidoctor folks to see if it's a bug, or if they have a recommended workaround.

-Peff
Previous: Jeff KingNext: larsxschneider@gmail.com
Message 16 of 53 in “travis-ci: build documentation”
  1. travis-ci: build documentationlarsxschneider@gmail.com, Apr 29, 2016
  2. Jeff KingApr 29, 2016
  3. Matthieu MoyApr 29, 2016
  4. Lars SchneiderApr 29, 2016
  5. Jeff KingApr 29, 2016
  6. Stefan BellerApr 29, 2016
  7. Matthieu MoyApr 29, 2016
  8. Lars SchneiderApr 29, 2016
  9. Junio C HamanoApr 29, 2016
  10. 0/2 travis-ci: build documentationlarsxschneider@gmail.com, May 2, 2016
  11. 1/2 Documentation: fix linkgit referenceslarsxschneider@gmail.com, May 2, 2016
  12. Jeff KingMay 2, 2016
  13. Lars SchneiderMay 3, 2016
  14. Junio C HamanoMay 3, 2016
  15. Jeff KingMay 3, 2016
  16. Jeff KingMay 3, 2016
  17. 0/2 travis-ci: build documentationlarsxschneider@gmail.com, May 4, 2016
  18. 1/2 Documentation: fix linkgit referenceslarsxschneider@gmail.com, May 4, 2016
  19. Lars SchneiderMay 4, 2016
  20. Jeff KingMay 4, 2016
  21. Ramsay JonesMay 4, 2016
  22. Junio C HamanoMay 4, 2016
  23. Junio C HamanoMay 4, 2016
  24. Junio C HamanoMay 4, 2016
  25. Jeff KingMay 4, 2016
  26. Junio C HamanoMay 4, 2016
  27. Jeff KingMay 4, 2016
  28. Junio C HamanoMay 4, 2016
  29. Jeff KingMay 4, 2016
  30. Junio C HamanoMay 4, 2016
  31. Jeff KingMay 4, 2016
  32. Junio C HamanoMay 4, 2016
  33. Jeff KingMay 4, 2016
  34. Junio C HamanoMay 4, 2016
  35. Junio C HamanoMay 4, 2016
  36. Junio C HamanoMay 4, 2016
  37. Jeff KingMay 4, 2016
  38. Jeff KingMay 4, 2016
  39. Ævar Arnfjörð BjarmasonMay 4, 2016
  40. Jeff KingMay 4, 2016
  41. 2/2 travis-ci: build documentationlarsxschneider@gmail.com, May 4, 2016
  42. Junio C HamanoMay 10, 2016
  43. Lars SchneiderMay 13, 2016
  44. 2/2 travis-ci: build documentationlarsxschneider@gmail.com, May 2, 2016
  45. Junio C HamanoMay 2, 2016
  46. Lars SchneiderMay 3, 2016
  47. Junio C HamanoMay 3, 2016
  48. Lars SchneiderMay 4, 2016
  49. Eric WongMay 4, 2016
  50. Junio C HamanoMay 4, 2016
  51. Christian CouderMay 4, 2016
  52. Matthieu MoyMay 4, 2016
  53. Matthieu MoyApr 29, 2016

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.