forked from Katello/katello
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix, update and add documentation fix css
- Loading branch information
Petr Chalupa
committed
Jan 16, 2013
1 parent
ce1c98f
commit 216847e
Showing
9 changed files
with
101 additions
and
50 deletions.
There are no files selected for viewing
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
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,44 @@ | ||
# Katello Rails app documentation | ||
# Katello Rails app developer documentation | ||
|
||
## Guides | ||
## What is documented? | ||
|
||
### Guides | ||
|
||
- {file:doc/ForemanIntegration.md} | ||
- {file:doc/RailsReadme} | ||
- {file:doc/Graphs.md} | ||
|
||
## How to generate this doc | ||
### Source | ||
|
||
- go to Katello src `cd katello/src` | ||
- generate the documentation (it will use `src/.yardopts` automatically) `yard` | ||
- {Katello::Configuration} | ||
- {Notifications} | ||
|
||
### Viewing | ||
## YARD | ||
|
||
There are several options | ||
### How to generate this documentation | ||
|
||
- go to rails home | ||
|
||
!!!txt | ||
cd katello/src | ||
|
||
- start Katello server and click on the link in the footer | ||
- generate the documentation (it will use `src/.yardopts` automatically) | ||
|
||
!!!txt | ||
yard | ||
|
||
### Browsing the documentation | ||
|
||
There are several options | ||
|
||
- or go directly to {http://katello.path/prefix/yard/docs} | ||
1. start Katello server and click on the link in the footer or go directly to {http://path.to.katello/a_prefix/yard/docs/katello/frames} | ||
1. open statically generated documentation `open yardoc/index.html`, run `yard doc` to generate the files first | ||
1. run standalone server `yard server --reload` and go to {http://localhost:8808} | ||
|
||
- open statically generated documentation `open yardoc/index.html` | ||
### How to | ||
|
||
- run `yard doc` to generate the files first | ||
- YARD is set to [Markdown syntax](http://daringfireball.net/projects/markdown/syntax#html) by default. Files without extension and code documentation will us it. It can be overridden by different file extension. | ||
- [Getting started](http://rubydoc.info/docs/yard/file/docs/GettingStarted.md) with YARD | ||
|
||
- run server `yard server --reload` and go to {http://localhost:8808} | ||
- [Tag list](http://rubydoc.info/docs/yard/file/docs/Tags.md#List_of_Available_Tags) is also useful | ||
|
File renamed without changes.
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,23 @@ | ||
/* Override this file with custom rules */ | ||
|
||
.docstring code, .docstring .object_link a { | ||
padding: 1px 3px; | ||
body { | ||
line-height: 18px; | ||
} | ||
|
||
.docstring code, .docstring .object_link a, #filecontents code { | ||
padding: 0px 3px 1px 3px; | ||
border: 1px solid #eef; | ||
background: #f5f5ff; | ||
} | ||
|
||
#filecontents pre.code, .docstring pre.code, .tags pre.example, .docstring code, .docstring .object_link a { | ||
#filecontents pre code, .docstring pre code { | ||
border: none; | ||
background: none; | ||
padding: 0; | ||
} | ||
|
||
#filecontents pre.code, .docstring pre.code, .tags pre.example, .docstring code, .docstring .object_link a, | ||
#filecontents code { | ||
-moz-border-radius: 2px; | ||
-webkit-border-radius: 2px; | ||
} |