mirror of
https://github.com/readthedocs/sphinx-autoapi
synced 2024-11-19 15:25:31 +00:00
Fix notes
This commit is contained in:
parent
f6f1d1dd7a
commit
ddeba7db70
112
tests/fixtures/parsed_go.json
vendored
112
tests/fixtures/parsed_go.json
vendored
@ -1,112 +0,0 @@
|
||||
{
|
||||
"doc": "This is the golang UUID module",
|
||||
"name": "go.uuid",
|
||||
"import_path": "uuid.go",
|
||||
"imports": [
|
||||
"something",
|
||||
"foo",
|
||||
"bar"
|
||||
],
|
||||
"filenames": [
|
||||
"something.go",
|
||||
"foo.go",
|
||||
"bar.go"
|
||||
],
|
||||
"notes": [
|
||||
{
|
||||
"pos": 27,
|
||||
"end": 42,
|
||||
"uid": "foobar",
|
||||
"body": "This is the body of the note"
|
||||
},
|
||||
{
|
||||
"pos": 43,
|
||||
"end": 44,
|
||||
"uid": "bar",
|
||||
"body": "More notes here"
|
||||
}
|
||||
],
|
||||
"bugs": [
|
||||
"Bug notes here"
|
||||
],
|
||||
"consts": [
|
||||
{
|
||||
"doc": "This is the documentation for the const",
|
||||
"names": [
|
||||
"not",
|
||||
"sure",
|
||||
"what",
|
||||
"goes",
|
||||
"here"
|
||||
]
|
||||
}
|
||||
],
|
||||
"types": [
|
||||
{
|
||||
"doc": "This is the documentation for the type",
|
||||
"name": "uuid.foobar",
|
||||
"consts": [
|
||||
{
|
||||
"doc": "This is the documentation for a const nested in a type",
|
||||
"names": [
|
||||
"shit"
|
||||
]
|
||||
}
|
||||
],
|
||||
"vars": [
|
||||
{
|
||||
"doc": "This is the documentation for a variable nested in a type",
|
||||
"names": [
|
||||
"more"
|
||||
]
|
||||
}
|
||||
],
|
||||
"funcs": [
|
||||
{
|
||||
"doc": "This is documentation for a function",
|
||||
"name": "uuid.some_func",
|
||||
"recv": "",
|
||||
"orig": "",
|
||||
"level": 0
|
||||
}
|
||||
],
|
||||
"methods": [
|
||||
{
|
||||
"doc": "This is documentation for a method",
|
||||
"name": "uuid.some_method",
|
||||
"recv": "T",
|
||||
"orig": "T",
|
||||
"level": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"vars": [
|
||||
{
|
||||
"doc": "This is the documentation for the variable",
|
||||
"names": [
|
||||
"not",
|
||||
"sure",
|
||||
"what",
|
||||
"goes",
|
||||
"here"
|
||||
]
|
||||
}
|
||||
],
|
||||
"funcs": [
|
||||
{
|
||||
"doc": "This is documentation for a function",
|
||||
"name": "uuid.some_func",
|
||||
"recv": "",
|
||||
"orig": "",
|
||||
"level": 0
|
||||
},
|
||||
{
|
||||
"doc": "This is documentation for a method",
|
||||
"name": "uuid.some_method",
|
||||
"recv": "T",
|
||||
"orig": "T",
|
||||
"level": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user