doc/documentation/content/en/books/porters-handbook
Sergio Carlavilla Delgado fb36cfdfb2 Add gitref macro to reference a git hash
With this extension a git hash can be easily referenced.

The porters handbook versions chapter uses this extension
as an example in the FreeBSD 14.0 version table.

An example of use

gitref:hash[repository="src|doc|ports",length=hash-longitude]

The repository should be src, doc or ports.
And if no length it's specified the macro will use 12 characters
of the specified hash.

PR:             253050
Submitted by:   jhb@
2021-02-13 22:22:34 +01:00
..
flavors Migrate doc to Hugo/AsciiDoctor 2021-01-26 00:31:29 +01:00
keeping-up Migrate doc to Hugo/AsciiDoctor 2021-01-26 00:31:29 +01:00
makefiles Migrate doc to Hugo/AsciiDoctor 2021-01-26 00:31:29 +01:00
new-port Migrate doc to Hugo/AsciiDoctor 2021-01-26 00:31:29 +01:00
order Migrate doc to Hugo/AsciiDoctor 2021-01-26 00:31:29 +01:00
pkg-files Migrate doc to Hugo/AsciiDoctor 2021-01-26 00:31:29 +01:00
plist Migrate doc to Hugo/AsciiDoctor 2021-01-26 00:31:29 +01:00
porting-dads Migrate doc to Hugo/AsciiDoctor 2021-01-26 00:31:29 +01:00
porting-samplem Migrate doc to Hugo/AsciiDoctor 2021-01-26 00:31:29 +01:00
porting-why Migrate doc to Hugo/AsciiDoctor 2021-01-26 00:31:29 +01:00
quick-porting Migrate doc to Hugo/AsciiDoctor 2021-01-26 00:31:29 +01:00
security Migrate doc to Hugo/AsciiDoctor 2021-01-26 00:31:29 +01:00
slow-porting Migrate doc to Hugo/AsciiDoctor 2021-01-26 00:31:29 +01:00
special Migrate doc to Hugo/AsciiDoctor 2021-01-26 00:31:29 +01:00
testing Migrate doc to Hugo/AsciiDoctor 2021-01-26 00:31:29 +01:00
upgrading Migrate doc to Hugo/AsciiDoctor 2021-01-26 00:31:29 +01:00
uses Migrate doc to Hugo/AsciiDoctor 2021-01-26 00:31:29 +01:00
versions Add gitref macro to reference a git hash 2021-02-13 22:22:34 +01:00
_index.adoc Migrate doc to Hugo/AsciiDoctor 2021-01-26 00:31:29 +01:00
chapters-order.adoc Migrate doc to Hugo/AsciiDoctor 2021-01-26 00:31:29 +01:00