ドキュメントをMarkdownで書くように
This commit is contained in:
parent
d47f92f396
commit
5f5156561f
32 changed files with 165 additions and 327 deletions
20
src/docs/api/entities/view.pug
Normal file
20
src/docs/api/entities/view.pug
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
extends ../../layout.pug
|
||||
include ../mixins
|
||||
|
||||
block meta
|
||||
link(rel="stylesheet" href="/docs/assets/api/entities/style.css")
|
||||
|
||||
block main
|
||||
h1= name
|
||||
|
||||
p#desc= desc[lang] || desc['ja']
|
||||
|
||||
section
|
||||
h2= i18n('docs.api.entities.properties')
|
||||
+propTable(props)
|
||||
|
||||
if propDefs
|
||||
each propDef in propDefs
|
||||
section(id= propDef.name)
|
||||
h3= propDef.name
|
||||
+propTable(propDef.props)
|
||||
Loading…
Add table
Add a link
Reference in a new issue