GayBSD documentation tree
Find a file
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
documentation Add gitref macro to reference a git hash 2021-02-13 22:22:34 +01:00
shared Add gitref macro to reference a git hash 2021-02-13 22:22:34 +01:00
website Add gitref macro to reference a git hash 2021-02-13 22:22:34 +01:00
.arcconfig Migrate doc to Hugo/AsciiDoctor 2021-01-26 00:31:29 +01:00
.cirrus.yml Fox build on Cirrus CI 2021-02-07 14:55:41 +08:00
Makefile build: add a top-level Makefile to drive the build 2021-01-28 21:15:10 -06:00
README Add back README file 2021-01-26 22:03:56 +08:00

If you plan on building a local copy of the FreeBSD documentation, or using
our toolchain in your own projects, please read the Documentation Primer at:

    https://docs.freebsd.org/en/books/fdp-primer/

for information about the tools and formatting languages we use.
Chapter 1 has a Quick Start section, and Chapter 2 covers the software
and related items in more detail.