Created
July 7, 2014 20:04
-
-
Save phdoerfler/c184915ef5d91b943026 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cheatsheet do | |
title 'Mercurial' # Will be displayed by Dash in the docset list | |
docset_file_name 'mercurial' # Used for the filename of the docset | |
keyword 'hg' # Used as the initial search keyword (listed in Preferences > Docsets) | |
introduction 'Mercurial Cheatsheet' # Optional, can contain Markdown or HTML | |
# A cheat sheet must consist of categories | |
category do | |
id '.hgignore' # Must be unique and is used as title of the category | |
entry do | |
name 'Syntax' # A short name, can contain Markdown or HTML | |
notes <<-'END' | |
``` | |
syntax: regexp | |
syntax: glob | |
``` | |
END | |
end | |
entry do | |
name 'RegExp Example' | |
notes <<-'END' | |
``` | |
^\.classpath$ | |
^\.project$ | |
^\.scala_dependencies$ | |
^properties\.cfg$ | |
^\.DS_Store$ | |
^\.cache$ | |
^project/target | |
^project/plugins/target | |
^project/plugins/project | |
^project.target.$ | |
^target$ | |
^.target$ | |
^.target.$ | |
^.history$ | |
``` | |
END | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment