I am using Ruby on Rails 3 and I would like to start documenting my internal application in addition to using comments in files. To do this, I decided to create documentation files in some folders already available in my application.
But I have some questions / doubts:
Where (in which folder of the RoR application) should I create documentation files?
Note. I would like to allow only developers to view these files. No public access.
What file extension do you recommend to use?
Please note: in the documentation I need to insert plain text.
Do you have a general recommendation on this topic?
Example: is this the wrong approach?
There is a folder with a name docwhere you can post your documentation (only in any case public) README_FOR_APP- this is a place where you can submit your application and post notes for private users.
doc
public
README_FOR_APP
readme.rdocor readme.mdin root folder- another great place for instructions and copyright, if you look at some open source project on github ( devise ), you will see that this file is displayed by default in the project directory.
readme.rdoc
readme.md
root folder
doc , odt ods BOUML uml. TODO.TXT, , ( TODO )
odt
ods
TODO.TXT
TODO
(yard), , .
( ), git, , .
( ), , ubuntu one dropbox - google docs.
, , .
, , doc rails, , . , , ( / ) ( , scm). , , , - , - .., - , ( , ), , (, , , , , ..).
, .txt . , ( ), .
, . /, , , , - - .
Why not use a subdirectory docand rake doc:app?
rake doc:app
Source: https://habr.com/ru/post/1789527/More articles:wpf data binding not updating from property - c #Can I close the Android status bar panel? - androidInputStream.available () not working - javaCreating a custom method in rails - ruby | fooobar.comJSF 2.0 Submit form with IncludeViewParams (ignoring empty parameters) - parametersHow to get the effect of GNU tar-strip components using git-archive? - gitUsing namespaces in PHP 5.2. If the expression is phpCompilation / Link Problem ASIHTTPRequest - objective-cCan Mahout be used to extract a term? - extractionНевозможно Implicityly Преобразование типа Void для ввода System.Collections.Generic.IList - genericsAll Articles