Components
Legacy
Button Documentation

Documentation Button

Description

Documentation is a special button we would like and easy accessibility to access the documentation

Usage

Representation

Could be present on the in header all page

  • It shoud appear only when there is a documentation detected ?
  • Fall back documentation link

Link detection

Link to the documentation should be done by a seach PHPReaction.com

  • PHPR URL : https://demo.phpreaction.com/invoice/payment/6 => https://xxx.phpreaction.com/invoice/payment/xx
  • Search for the URL ex : link : https://xxx.phpreaction.com/invoice/payment/xx
  • Example : => Function link : https://xxx.phpreaction.com/invoice/payment/xx
  • We could keep a cache about it to be faster

Fallback documentation link

Base documentation page from the website : https://phpreaction.com/fonctionnalites-de-phpreaction/ (opens in a new tab)

It could use specific software documentation from the path ?

Ex PHPR URL : https://demo.phpreaction.com/bill/ (opens in a new tab)* Doc URL : https://phpreaction.com/fonctionnalites-de-phpreaction/fonctionnalites-dachats/ (opens in a new tab) Better URL : https://phpreaction.com/fonctionnalites-de-phpreaction/fonctionnalites-dachats/#CommentFaire (opens in a new tab)

Covers lots of specific endpoint