Skip to content

Adding detailed explanations to build documentation pages  #19

Open
@sebdelp

Description

@sebdelp

Hi Thanks for this GitHub, that's very interestign.
May I suggest to add some explanations about building and distributing a "complex" documentation.

  1. We can have a "Run livescript" image with a web ink containing the following code
    matlab:dxdzds.file='FILENAME_WITHOUT_EXTENTION';dxdzds.outFile=fullfile(pwd,dxdzds.file); copyfile(which(['user_' dxdzds.file]),[dxdzds.outFile '.mlx']);open(dxdzds.outFile);clear dxdzds;

=> as a result, the example file is copied in the current folder and the user can run it, similarly to Matlab's doc.

  1. Overall, there is very few information about folders structure in the documentation about writing a toolbox documentation.

  2. Also, the Topics I'd like to be covered are : Explain how to make link between the main documentation pages and the examples : how to add an hyperlink to a specific example from one documentation page and vice versa (adding a link from an example to the main documentation).

  3. Overall Matlab documantation about writing documentation is well behind the rest of Matlab documentation. It hasn't be revised for years.
    As we can develop html fils, it is important to understand how the doc is deployed to the user machine during the toolbox install.
    It seems that the actual doc folder structure is not exactly the one we provide in the toolbox folder at the packaging time, making impossible to make link between examples and other pages).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions