Commit Graph

171 Commits

Author SHA1 Message Date
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
Marcel Hollerbach 4f5b3b95fb meson: add docs
Summary:
this here brings one new top level target which is doc. It is not build
by default, and does rerun everything on every call.

ninja doc will create previews and run the doxygen command. After this
is done, a tarbal of the html & man will be created, latex is not added
for now, due to the unability to compile the resulting .tex files.

Nothing of the documentation is installed for now, if this would be
enabled, then every single ninja install would regenerate the whole
documentation again, which is quite a lot, and quite a pain (and
sometimes crashes)

While porting this over, i encountered a problem with *convert* the bug
report is linked in the comment.

fix T7781

Depends on D8690

Reviewers: zmike, segfaultxavi, cedric

Reviewed By: segfaultxavi

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7781

Differential Revision: https://phab.enlightenment.org/D8561
2019-04-30 12:17:00 +02:00
junsu choi f89fe318a7 README, doc : Fix typo
Reviewers: Hermet, kimcinoo, segfaultxavi

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8710
2019-04-25 11:02:49 +02:00
Xavi Artigas 47f9af1282 docs: Fix genlist widget preview generation
Summary:
This was making "ninja doc" segfault for me.
If these function tables are not initialized they contain garbage, which leads
to the worst kind of undefined behavior.

Test Plan: Apply D8561 and try `ninja doc`. It was dumping core for me, and it does not do it anymore after this patch.

Reviewers: bu5hm4n, zmike, cedric

Reviewed By: bu5hm4n

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8697
2019-04-24 11:12:23 +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 c55299ca51 docs: Fix assorted typos in legacy documentation
Samsung reported a long list of typos in our legacy docs, this fixes them.
2019-01-28 13:14:20 +01:00
Xavi Artigas a50edaf17b eina: refactor eina_value_*_new.
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D7701
2019-01-23 10:54:13 -08:00
Xavi Artigas 06604d5d25 eina: refactor eina_value_*_init.
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D7700
2019-01-23 10:54:11 -08:00
Xavi Artigas de608bb203 eina: refactor eina_value_*_get.
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D7699
2019-01-23 10:54:09 -08:00
Cedric BAIL 1150cce0bf eina: add Eina_Value helper that convert efficiently to a target native C type.
Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com>
Differential Revision: https://phab.enlightenment.org/D7650
2019-01-23 10:54:05 -08: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
Bowon Ryu 1bce388ec9 docs: fix the incorrect group name of segment control
Summary:
Now the links in docs are connected normally.
related commit: https://phab.enlightenment.org/D7087

Test Plan: N/A

Reviewers: Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7125
2018-10-02 19:51:41 +09:00
Andy Williams 5937b1a3de docs: link to the module list in legacy docs
This should improve visibility of stuff that is not specifically
mentioned on the home page
2017-12-15 17:22:31 +00:00
Andy Williams 6df492b6b7 docs: Don't ignore eo.legacy.h files in doxygen 2017-12-14 14:28:19 +00:00
Andy Williams 6f38e42f8e docs: Remove the Efl namespace from our legacy docs
This means removing bindings from the output too
as they are making the transition over.
2017-12-13 18:10:57 +00:00
Andy Williams ebff6b42ef docs: Updated legacy API introduction 2017-12-13 18:10:57 +00:00
Andy Williams 7b5551c548 docs: Attach the google analytics code to our docs pages too 2017-12-08 11:00:50 +00:00
Andy Williams 2dd1e59a4c docs: be better at a responsive layout when embedded 2017-11-06 18:43:06 +00:00
Andy Williams 7f48764d17 A more readable layout for doxygen landing page
Also moved out the C++ reference as that should be separate.
(C++ link now on the main /docs page)
2017-11-03 18:17:53 +00:00
Andy Williams 3989f11f11 Update my name in more places 2017-11-02 10:34:05 +00:00
Andy Williams 55b8608728 Update auto API doc styling to match main website
Not perfect, but it's a good start
2017-11-02 10:31:03 +00:00
Thiep Ha 4642fe2f64 doc: enable elementary_examples building
The elementary examples were built before, but not now.
I guess it was missed when we merged elementary to efl source tree.
This enables it and fixes some references.
2017-10-24 15:46:30 +09:00
Hermet Park 1104ff3789 update author(hermet) email. 2017-10-14 23:03:51 +08:00
Jeeyong Um 7a3bed83ee docs: Fix broken edje tutorial (swallow 2) 2017-05-08 16:58:56 +09:00
Marcel Hollerbach 2c16e58613 docs: remove wrong line-height
there was a 'line-height: 0%;' that resulted in unreadable edc code in
the Edje Data Collection reference documentation page.

Thank you Jeremy Suntheimer for spotting that!

fix T5438
2017-04-30 09:49:02 +02:00
Bruno Dilly adb95630ef eina: remove tests, examples and docs for eina_model
Summary:
Since eina_model was dropped some years ago.
Also a few other points where related stuff is just commented out.

Reviewers: iscaro, barbieri

Reviewed By: barbieri

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4442
2016-11-30 18:37:34 -02:00
Jee-Yong Um 0f97d45dac fix doxygen warnings
Summary:
fix warnings while generating documents
- end of file while inside a group (eina_util.h)
- missing title after \defgroup
- ignoring title "Ecore_Con_Lib_Group" that does not match old title

Reviewers: Hermet

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4420
2016-11-22 11:47:04 +09:00
Stefan Schmidt dbf9d1d4a9 doc: put shot.sh into dist to allow make doc run from tarball
This was missing in the release tarballs before breaking a make doc run from
them.

@fix
2016-08-17 16:43:26 +02:00
Felipe Magno de Almeida 386548ba8d docs: Fix rename from eo_add to efl_add 2016-08-15 15:15:11 -03:00
Amitesh Singh be47c4b9c0 elm: rename Elm.Nstate to Efl.Ui.Nstate 2016-05-10 12:41:03 +05:30
Stefan Schmidt c60b2500c7 docs: add nstate widget to elm widget list index 2016-04-13 17:01:23 +02:00
Stefan Schmidt a1663b1710 docs: make elementary docs available form main doc page
While elm docs have been merged in they never have been accessible from the
main page of our docs. Fix this by including elm_intro.h and referencing it
from the main page. While we are at it rename it to the scheme we used in EFL.

Another missing piece was the index with all widget references. Never brought
over form the elm legacy tree. Putting this in and we are now at least able to
navigate to all elm widget pages.
2016-04-13 17:01:23 +02:00
Stefan Schmidt 74a046fee5 docs: generate nstate widget preview for documentation
The preview example code was already there but not hooked up in our preview
screenshot magic.
2016-04-13 17:01:23 +02:00
Amitesh Singh 4cd002fc7d doc: fix typo in 410cdd1501 2016-04-08 10:14:35 +05:30
Amitesh Singh 410cdd1501 doc: add widget_preview_nstate.c to noinst_PROGRAMS 2016-04-08 09:48:47 +05:30
Amitesh Singh 4cf98237ee doc: add elm nstate preview 2016-04-08 09:20:24 +05:30
Jean-Philippe Andre 81c1b8b530 doc: Remove widget_preview_nstate.c
These is no such file.
Hopefully this will fix make dist.
2016-04-08 11:25:14 +09:00
Amitesh Singh 56ab435998 elm_nstate: introduce nstate widget and inherit check from it
Test Plan:
elementary_test -to "nstate"

@feature

Reviewers: yashu21985, tasn, Hermet, seoz, smohanty, felipealmeida, JackDanielZ, jypark, woohyun, herdsman, raster, cedric, jpeg

Subscribers: saurabhbunty, seoz

Differential Revision: https://phab.enlightenment.org/D3786
2016-04-07 19:05:57 +09:00
Cedric BAIL 128ec4c10a elementary: fix documentation generation. 2016-03-29 15:57:13 -07:00
Cedric BAIL b6a81b6e7b elementary: start bringing back documentation support.
I didn't know preview generation was so slow and done completely serialy.
There is potential improvement here. Still need to kind of merge the
documentation into something readable.
2016-03-28 16:56:31 -07:00
Cedric BAIL b0df722819 elementary: initial compilation of the library only. 2016-03-24 11:23:10 -07:00
Cedric BAIL c2a1c49ab2 elementary: move all legacy files to their expected new location. 2016-03-23 13:24:41 -07:00
Jean-Philippe Andre 021c74d770 Doc: Fix compilation after massive eo_do patch 2016-03-03 20:21:17 +09:00