Commit Graph

19 Commits

Author SHA1 Message Date
Xavi Artigas 26e55458ad mono-docs: Update DocFX version and use online symbol lookup
Version 2.45 of DocFX seems much much faster than previous 2.40, but could just
be a matter of stale caches. Anyway, no breakages have been detected.
Using an online symbol resolution server (https://xref.docs.microsoft.com)
adds some more links for .NET symbols (and no noticeable slowdown).
2019-08-29 17:44:16 +02:00
Xavi Artigas 6a1b0c3b2f DocFX: Update README with Deployment instructions
The deployment process is currently manual so we better write it down.
2019-07-31 12:53:48 +02:00
Xavi Artigas e6726c6f92 docfx: Missing template file
Otherwise, <remarks> section DIV at the namespace level is always
shown, even if empty. And we do not want that now that the DIV has
a background color.
2019-07-29 16:15:55 +02:00
Xavi Artigas 4b80c5b4e1 mono-docs: More tweaks to the docs blacklist 2019-07-25 17:03:10 +02:00
Xavi Artigas d7f1f4f3b8 mono-docs: Filter out some more unwanted constructors
These should not be used by users, so take them out of the DocFX docs.
2019-07-24 14:14:13 +02:00
Xavi Artigas 5585420e85 mono-docs: Indicate when a class is BETA
Summary:
The mono generator adds a <remarks> section to all BETA classes with an explanatory text.
These tags are understood by DocFX and Monodevelop.
On top of this, this commit modifies the DocFX template to give the Remarks section a more
prominent place in the page.

Test Plan: Render docs, Beta classes should have a big blue box with a remark about the class being Beta and dangerous.

Reviewers: lauromoura, vitor.sousa

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9381
2019-07-23 21:53:01 +02:00
Xavi Artigas faaba156ab docfx: Remove collapsible sections
They didn't render correctly in all cases.
2019-07-05 17:06:39 +02:00
Xavi Artigas 0d158900b4 docfx: Only add media files in use to the final docs
The setup script copied ALL media files, but only the C# tutorials and guides.
A lot of space can be saved in the generated _site folder if only the media
files relevant to C# are copied.
2019-06-11 20:00:59 +02:00
Xavi Artigas 05902c708a docfx: Use the public repo url for www-content
Otherwise, you need to have credentials, etc.
2019-05-16 18:06:46 +02:00
Xavi Artigas 4b032b367b docfx: Filter out *Concrete classes (again)
As the C# API settles down, some classes go in and out of public space.
2019-05-03 15:28:15 +02:00
Xavi Artigas 7f0e9f9df7 mono-docs: Update DocFX blacklist
NativeInherit sibling classes have been replaced by NativeMethods internal classes.
2019-04-23 12:17:11 +02:00
Xavi Artigas 6547d45b81 mono-docs: Use full name in page title
Reference page titles are now "Class Efl.Ui.Win" instead of "Class Win".
And also remove Namespace and Assembly sections.
Namespace is redundant since we use fully-qualified names everywhere.
Assembly is useless since we build the docs from the source so this entry is
always "temp.dll".
2019-04-23 11:07:29 +02:00
Xavi Artigas 8e3fa3a97f mono-docs: Use full name in list of derived classes
In the EFL API we have several objects with the same name in different namespaces.
Thus it is important to use fully-qualified names throughout the docs, to avoid
confusion.
However, the default DocFX templates prefer using only simple class names.
The default templates have already been modified to use full names everywhere
except in the list of derived classes in the hierarchy section, where a DocFX
bug was hit.
This commit is a workaround to that bug (see
https://github.com/dotnet/docfx/issues/3769#issuecomment-485616064 )
so full names (with links) are used in the whole hierarchy.
2019-04-23 10:51:56 +02:00
Xavi Artigas 7a55202499 mono-docs: No need no blacklist *Concrete classes anymore 2019-04-15 14:58:23 +02:00
Xavi Artigas 5fa5ff9522 docs: Exclude *.NativeStruct from DocFX pages
These are for internal use only.
Also, make filtering rules a bit more robust.
2019-04-04 19:06:05 +02:00
Xavi Artigas aa7ec61664 docfx: Hide *Concrete classes from docs
Ref T7702
2019-03-14 19:15:28 +01:00
Xavi Artigas 8fc4e94877 docfx: Exclude *NativeInherit classes from docs
These classes need to be public so new user-created classes can inherit
from them, but they have the same content as the regular classes.
Therefore there is no need to pollute the documentation with duplicated
elements.
2019-03-01 17:01:59 +01:00
Xavi Artigas 133b659b73 docs: Add custom DocFX templates
Summary:
These templates add the following features:
- Collapsible sections for simpler reading
- Full class names in ancestors list
  (Could not make it work for descendants)
- Removed duplicated Implements section
- Removed huge Inherited Members section
- Extended maximum number of hierarchy levels from 5 to 10
  (because our hierarchy is really that big)

Test Plan:
Follow the doc/docfx README to generate the HTML pages and enjoy the improved
and slightly-more-usable docs.

Reviewers: lauromoura, bu5hm4n, zmike, cedric

Reviewed By: lauromoura

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7832
2019-02-11 14:18:12 +01:00
Xavi Artigas 2d8f3fba46 doc: Add support for DocFX (C# doc generator)
Summary: Usage instructions in the README file.

Test Plan:
Follow the README to produce the documentation pages.
Point your browser to docfx/_site/index.html to see the results.

Reviewers: lauromoura, bu5hm4n, cedric, myoungwoon, zmike

Reviewed By: lauromoura, bu5hm4n

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7424

Differential Revision: https://phab.enlightenment.org/D7502
2019-01-07 17:07:42 +01:00