Skip to content

Commit

Permalink
Generate edit links for new stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
Arjan Scherpenisse committed Sep 22, 2012
1 parent 744d88f commit 3071f49
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/ref/actions/.generate
Expand Up @@ -35,6 +35,7 @@ EOF
Not yet documented.
\`Edit <https://github.com/zotonic/zotonic/edit/master/doc/ref/actions/doc-${action}.rst>\`_
EOF
fi

Expand Down
1 change: 1 addition & 0 deletions doc/ref/controllers/.generate
Expand Up @@ -35,6 +35,7 @@ EOF
Not yet documented.
\`Edit <https://github.com/zotonic/zotonic/edit/master/doc/ref/controllers/doc-${controller}.rst>\`_
EOF
fi

Expand Down
1 change: 1 addition & 0 deletions doc/ref/dispatch/.generate
Expand Up @@ -59,6 +59,7 @@ EOF
Not yet documented.
\`Edit <https://github.com/zotonic/zotonic/edit/master/doc/ref/dispatch/doc-${base}.rst>\`_
EOF
fi

Expand Down
1 change: 1 addition & 0 deletions doc/ref/filters/.generate
Expand Up @@ -35,6 +35,7 @@ EOF
Not yet documented.
\`Edit <https://github.com/zotonic/zotonic/edit/master/doc/ref/filters/doc-${filter}.rst>\`_
EOF
fi

Expand Down
2 changes: 2 additions & 0 deletions doc/ref/models/.generate
Expand Up @@ -36,6 +36,7 @@ EOF
Not yet documented.
\`Edit <https://github.com/zotonic/zotonic/edit/master/doc/ref/models/doc-${model}.rst>\`_
EOF
fi

Expand Down Expand Up @@ -79,6 +80,7 @@ EOF
Not yet documented.
\`Edit <https://github.com/zotonic/zotonic/edit/master/doc/ref/models/doc-${model}.rst>\`_
EOF
fi

Expand Down
1 change: 1 addition & 0 deletions doc/ref/modules/.generate
Expand Up @@ -28,6 +28,7 @@ EOF
Not yet documented.
\`Edit <https://github.com/zotonic/zotonic/edit/master/doc/ref/modules/doc-${mod}.rst>\`_
EOF
fi

Expand Down
1 change: 1 addition & 0 deletions doc/ref/scomps/.generate
Expand Up @@ -35,6 +35,7 @@ EOF
Not yet documented.
\`Edit <https://github.com/zotonic/zotonic/edit/master/doc/ref/scomps/doc-${base}.rst>\`_
EOF
fi

Expand Down
1 change: 1 addition & 0 deletions doc/ref/services/.generate
Expand Up @@ -36,6 +36,7 @@ EOF
Not yet documented.
\`Edit <https://github.com/zotonic/zotonic/edit/master/doc/ref/services/doc-${$mod}.rst>\`_
EOF
fi

Expand Down
1 change: 1 addition & 0 deletions doc/ref/templates/.generate
Expand Up @@ -37,6 +37,7 @@ EOF
Not yet documented.
\`Edit <https://github.com/zotonic/zotonic/edit/master/doc/ref/templates/doc-${base}.rst>\`_
EOF
fi

Expand Down
1 change: 1 addition & 0 deletions doc/ref/validators/.generate
Expand Up @@ -35,6 +35,7 @@ EOF
Not yet documented.
\`Edit <https://github.com/zotonic/zotonic/edit/master/doc/ref/validators/doc-${base}.rst>\`_
EOF
fi

Expand Down

2 comments on commit 3071f49

@kaos
Copy link
Member

@kaos kaos commented on 3071f49 Sep 22, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why didn't you just put the Edit link in the stub file, after the include instead?

That way you wouldn't have had to edit (and commit) all those files... only the .generate scripts.

+1 on the link, though. Nice one :)

@arjan
Copy link
Member

@arjan arjan commented on 3071f49 Sep 23, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uhm, yeah, that might have been easier for the files under ref/ :)
Will change it.

Please sign in to comment.