Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ObjectivePHP Documentation #5

Open
jheussler opened this issue Mar 16, 2018 · 0 comments
Open

ObjectivePHP Documentation #5

jheussler opened this issue Mar 16, 2018 · 0 comments

Comments

@jheussler
Copy link

jheussler commented Mar 16, 2018

ObjectivePHP RFC: ObjectivePHP Documentation

Summary

For a better understanding of ObjectivePHP, we need to strengthen the documentation available to our users.
I suggest a website with components' / integrations' documentations gathered from all O-PhP repositories automatically, maintained up to date with a hook on releases, fully auto-generated.

Proposal

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD",
"SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be
interpreted as described in RFC 2119.

One centralised website with every components' documentations and some integration exemples.
This website will be generated into html content from PHP Code and Readme from repositories with the help from a github hook.

For the PHP doc perspective, no need to create another parser and we will be using one already existing. To handle specific documentation (integration, examples, details about some features) we need to fill a readme file with specific content : title, sections etc, writted in markdown.

Description

Photo

Doc API - PHPDoc

  • must : public methods and functions, properties, class
  • should : protected and private methods

Readme.md

  • summary
  • contribute
  • link to doc

Docs tree

  • /docs/index.md
  • /docs/01.quick-start.md
  • /docs/02.detailed-usage.md
  • /docs/03.config-directives.md
  • /docs/04.api-doc.md
  • /docs/05.faq.md

Backward Incompatible Changes

None

Proposed ObjectivePHP Version(s)

Targeted framework (and components) version to strictly apply these standards is 2.0.0.

RFC Impact

To Components

No impact

To Packages

No impact

To Workflow

No impact

To Configuration

No impact

Future Scope

None

Proposed Voting Choices

As all changes are bundled in one vote it require a 2/3 majority.

Links to external references, discussions, issues or RFCs

PHP doc parser : https://github.com/martinsik/php-doc-parser

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant