doc/shared/lib
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
..
GitReferencesMacro Add gitref macro to reference a git hash 2021-02-13 22:22:34 +01:00
InterDocumentReferencesMacro Migrate doc to Hugo/AsciiDoctor 2021-01-26 00:31:29 +01:00
ManPageMacro Migrate doc to Hugo/AsciiDoctor 2021-01-26 00:31:29 +01:00
PackagesMacro Migrate doc to Hugo/AsciiDoctor 2021-01-26 00:31:29 +01:00
git-macro.rb Add gitref macro to reference a git hash 2021-02-13 22:22:34 +01:00
inter-document-references-macro.rb Migrate doc to Hugo/AsciiDoctor 2021-01-26 00:31:29 +01:00
man-macro.rb Migrate doc to Hugo/AsciiDoctor 2021-01-26 00:31:29 +01:00
packages-macro.rb Migrate doc to Hugo/AsciiDoctor 2021-01-26 00:31:29 +01:00
sectnumoffset-treeprocessor.rb Migrate doc to Hugo/AsciiDoctor 2021-01-26 00:31:29 +01:00