Comments (22)
What would be good, is if there was a markdown -> docs library that allowed referencing to the php files in the markdown
& automatically included the code so there was no duplication.
from designpatternsphp.
Then migrating to ReadTheDocs.org would be right way IMO. It will automatically create table of contents and PDF versions of documentation. The only manual work is transforming Markdown files into RST files.
from designpatternsphp.
Then migrating to ReadTheDocs.org would be right way...
Yes that would be a better idea π
from designpatternsphp.
According to the docs of RTD, it can use Markdown
https://read-the-docs.readthedocs.org/en/latest/getting_started.html#in-markdown
from designpatternsphp.
It can, but that seriously limits set of features you can use.
from designpatternsphp.
seriously limits set of features you can use
I was just trying to read up on the limitations/differences. Thanks for clarifying π
from designpatternsphp.
Originally ReadTheDocs.org was a Front-End for Sphynx generated documentation (only supported RST). Over time support for other file formats was added.
If you'd like to send a PR using https://github.com/aik099/phpunit-mink/tree/master/docs might give you a head start.
from designpatternsphp.
Thanks I will take a look π
from designpatternsphp.
I started to have a play...
https://github.com/eddiejaoude/DesignPatternsPHP
from designpatternsphp.
You can also use theme from ReadTheDocs to make it look exactly like there.
Here are instructions on how to install it locally: https://github.com/qa-tools/qa-tools/tree/read-the-docs/docs
Here is relevant piece of config: https://github.com/qa-tools/qa-tools/blob/read-the-docs/docs/conf.py#L10-L15
from designpatternsphp.
Nice one! π
from designpatternsphp.
Now you see why theme matters. Apparently ReadTheDocs.org theme uses only 2 levels of Toc and that's why left sidebar is empty.
from designpatternsphp.
I'd recommend you go and celebrate New Year instead of doing all of that right now π
from designpatternsphp.
Haha thanks... I am. You too. Thanks :-)
Chat in 2015
Sent from my iPhone
On 31 Dec 2014, at 23:24, Alexander Obuhovich [email protected] wrote:
I'd recommend you go and celebrate New Year instead of doing all of that right now
β
Reply to this email directly or view it on GitHub.
from designpatternsphp.
Hope you had a good New Years eve!
How do I do a link without specifying the extension? eg. if I specify the extension rst
& generate html, then it won't work, if I specify the extension html
it works but I feel that is wrong?
from designpatternsphp.
How do I do a link without specifying the extension? eg. if I specify the extension rst & generate html, then it won't work, if I specify the extension html it works but I feel that is wrong?
By default if you create an internal link, then it is assumed to be in RST format and extension isn't required.
Here is how to create external links: http://docutils.sourceforge.net/docs/user/rst/quickref.html#hyperlink-targets
Google is pretty good at searching RST documentation by the way as well.
from designpatternsphp.
Google is pretty good at searching RST documentation by the way as well.
I wasn't being lazy, I did have a look, but with or without the rst
extension it didn't work (only with html
extension).
I looked at the following docs:
http://sphinx-doc.org/rest.html#hyperlinks
http://sphinx-doc.org/markup/inline.html#ref-role
I will research more, sorry to trouble you π
from designpatternsphp.
I needed to use :doc:
instead of :ref:
. Easy when you know how π
from designpatternsphp.
I you would like to create PR with your existing progress, then I can take a look at it. It's pretty hard without actually seeing RST content you're talking about. Just add [WIP]
before PR title (means work in progress).
from designpatternsphp.
Sure #115
from designpatternsphp.
+1
from designpatternsphp.
As this is now done, I am going to close this ticket. Great work all involved π
from designpatternsphp.
Related Issues (20)
- Broken documentation url in readme HOT 3
- CircuitBreaker pattern HOT 1
- Bulgarian Translation HOT 4
- Hello γWhen I run phpunit, this error occurs. How can I solve it? Thank you HOT 2
- AbstractFactory - how does it know which WriterFactory to return HOT 1
- Design Patters PHP HOT 1
- composer install - FAIL HOT 2
- Translation error in readthedocs HOT 3
- use standard coding style from PHP Code Sniffer HOT 3
- Translate the Structural pages into Spanish
- Incomplete translation to Brazilian Portuguese HOT 1
- Observer pattern is unclear as implementation of update is not clear
- strategy pattern php HOT 1
- undefined class TestCase. HOT 1
- Help with Docker HOT 2
- Class diagram doesn't match the code. Pattern "State" HOT 1
- Project marked as spam HOT 2
- How to translate languages from other countries
- language issue
- *
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from designpatternsphp.