Code Monkey home page Code Monkey logo

Comments (15)

Progi1984 avatar Progi1984 commented on May 4, 2024

A starting documentation is present here : http://phpword.readthedocs.org/en/develop/index.html

from phpword.

Progi1984 avatar Progi1984 commented on May 4, 2024

@ivanlanin Could you add your table in docs ?

from phpword.

ivanlanin avatar ivanlanin commented on May 4, 2024

Wow. RTD changes our manual almost instantly :)

Btw, I use pandoc since I'm too lazy to write rst myself.

from phpword.

ivanlanin avatar ivanlanin commented on May 4, 2024

@Progi1984 Checkout the updated README.md and rst files :)

from phpword.

Progi1984 avatar Progi1984 commented on May 4, 2024

No problem for using Pandoc ;)

For the table with differences, I thought to this : https://github.com/PHPOffice/PHPExcel/blob/master/Documentation/Functionality%20Cross-Reference.xls (without getters & setters)

Furthermore, I think the file Readme.md must not contain the documentation but must be a reference where to find documentation, install, and so on like PHPExcel. Because the documentation is located to two places and we risk to forget updating one.

from phpword.

ivanlanin avatar ivanlanin commented on May 4, 2024

Ah, I see. Ok. I don't think we could create something like that using markup. It's too complicated. We better use Google Spreadsheet or use Excel, like PHPExcel, and put it in the docs folder. I prefer the first approach since we can keep our source code clean from binaries.

Regarding duplicate docs, I agree. So we keep the README simple and focus on the rst?

from phpword.

Progi1984 avatar Progi1984 commented on May 4, 2024

I have edited the documentation for outputting what I thought : http://phpword.readthedocs.org/en/develop/intro.html#file-formats.
It's not Markdown, it's reStructuredText (.rst).

For a simple ReadMe, and a focus on the RST, I agree.

from phpword.

ivanlanin avatar ivanlanin commented on May 4, 2024

Look much better. Got it. I'll migrate the README.md contents to rst and will continue the documentation there.

Can we close this issue? :)

from phpword.

Progi1984 avatar Progi1984 commented on May 4, 2024

I must redesign the second table and add some features.
I will do this week-end.

from phpword.

ivanlanin avatar ivanlanin commented on May 4, 2024

While you're on it, could you also check the PDF generated from our docs? There is no TOC, no index page at the back, and the first few pages of PDF looks empty. What should we do? Thanks.

from phpword.

Progi1984 avatar Progi1984 commented on May 4, 2024

I just improved tables with features support.
https://phpword.readthedocs.org/en/develop/intro.html#file-formats

I look at the PDF ;)

from phpword.

ivanlanin avatar ivanlanin commented on May 4, 2024

Ah, much better now :) But why there's still no TOC? Is there any special setup we have put? RTD seems can't render the checkmarks on the feature table, either.

from phpword.

Progi1984 avatar Progi1984 commented on May 4, 2024

For the TOC, it seems that it's a bug : readthedocs/readthedocs.org#665

from phpword.

ivanlanin avatar ivanlanin commented on May 4, 2024

The workaround dc28fd6 seems to work :)

from phpword.

Progi1984 avatar Progi1984 commented on May 4, 2024

Yep, Perfect, I close it :)

from phpword.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.