Use YARD for API documentation.
Massive TODO. We'll get there eventually...
This commit is contained in:
parent
41cc28ca42
commit
93c71bafca
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
!/.gitignore
|
!/.gitignore
|
||||||
|
!/.yardopts
|
||||||
!/Library/
|
!/Library/
|
||||||
!/CODEOFCONDUCT.md
|
!/CODEOFCONDUCT.md
|
||||||
!/CONTRIBUTING.md
|
!/CONTRIBUTING.md
|
||||||
|
|||||||
4
.yardopts
Normal file
4
.yardopts
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
--title "Homebrew"
|
||||||
|
--main Library/Homebrew/API.md
|
||||||
|
Library/Homebrew/**/*.rb
|
||||||
|
*.md
|
||||||
@ -1,17 +0,0 @@
|
|||||||
--- !ruby/object:RDoc::Options
|
|
||||||
encoding: UTF-8
|
|
||||||
static_path: []
|
|
||||||
rdoc_include:
|
|
||||||
- .
|
|
||||||
charset: UTF-8
|
|
||||||
exclude:
|
|
||||||
hyperlink_all: false
|
|
||||||
line_numbers: true
|
|
||||||
main_page:
|
|
||||||
markup: rdoc
|
|
||||||
page_dir:
|
|
||||||
show_hash: false
|
|
||||||
tab_width: 2
|
|
||||||
title: Homebrew
|
|
||||||
visibility: :protected
|
|
||||||
webcvs:
|
|
||||||
4
Library/Homebrew/API.md
Normal file
4
Library/Homebrew/API.md
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Homebrew Public API
|
||||||
|
We're (finally) working on a documented public API for Homebrew. It's currently a work in progress; a bunch of public stuff is documented and a bunch of private stuff is undocumented. Sorry about that!
|
||||||
|
|
||||||
|
The main class you should look at is {Formula}. Assume everything else is private for now.
|
||||||
Loading…
x
Reference in New Issue
Block a user