Changeset 1474


Ignore:
Timestamp:
09/05/10 16:30:02 (21 months ago)
Author:
Freddie Akeroyd
Message:

More doc tweaks. Also now automatically builds javadoc for web. Refs #231

Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/bindings/cpp/NeXusFile.cpp

    r1473 r1474  
    3333 * \endcode 
    3434 * 
    35  * \example napi_test_cpp.cxx 
    36  * Test program for NeXus C++ Interface 
     35 * \sa napi_test_cpp.cxx 
    3736 * 
    3837 * For details of the C API see http://download.nexusformat.org/doxygen/html-c/ 
     38 * 
     39 */ 
     40 
     41/** 
     42 * \example napi_test_cpp.cxx 
     43 * Test program for the NeXus C++ Interface. 
     44 * This illustrates calling most of the functions for reading and writing a file 
     45 * 
    3946 */ 
    4047 
  • trunk/bindings/java/Makefile.am

    r1443 r1474  
    7777               ncsa/hdf/hdflib/ArrayDescriptor.class 
    7878 
    79 clean-local: 
    80                 rm -rf apidoc 
    8179 
    8280noinst_JAVA     = ncsa/hdf/hdflib/HDFArray.java \ 
     
    9391                test/TestJapi.java 
    9492 
    95 EXTRA_DIST      = $(noinst_JAVA) README.JNEXUS COPYING.NCSA  
     93EXTRA_DIST      = $(noinst_JAVA) README.JNEXUS COPYING.NCSA 
    9694 
    9795# specific targets 
     
    102100        $(JAVAH) -jni -d native -classpath . org.nexusformat.NexusFile 
    103101 
    104 jnexus.jar: $(jnexus_jar_CLASS) 
     102jnexus.jar: $(jnexus_jar_CLASS) apidoc 
    105103        $(JAR) cvf jnexus.jar $(jnexus_jar_CLASS) \ 
    106104               ncsa/hdf/hdflib/ArrayDescriptor.class 
    107105 
    108 #all: $(jnexus_jar_ARCHIVE) $(lib_LTLIBRARIES) javadoc 
    109  
    110 javadoc:        $(noinst_JAVA) 
    111         test -d apidoc || mkdir apidoc 
    112         $(JAVADOC) -d apidoc -windowtitle jnexus -doctitle jnexus -classpath . \ 
    113                       -sourcepath $(srcdir) org.nexusformat ncsa.hdf.hdflib 
    114106 
    115107SUFFIXES = .java .class 
     
    118110        $(JAVAC) -d $(JAVAROOT) $(AM_JAVACFLAGS) $(JAVACFLAGS) $< 
    119111 
     112apidoc : $(noinst_JAVA) 
     113        test -d apidoc || mkdir apidoc 
     114        $(JAVADOC) -d apidoc -windowtitle jnexus -doctitle jnexus -classpath . \ 
     115                      -sourcepath $(srcdir) org.nexusformat ncsa.hdf.hdflib 
     116 
     117dist-hook : 
     118        if test -d $(srcdir)/apidoc; then \ 
     119            cp -r $(srcdir)/apidoc $(distdir); \ 
     120        fi 
     121 
     122install-data-local : 
     123        $(mkinstalldirs) $(DESTDIR)$(nxjavadocdir) 
     124        if test -d $(srcdir)/apidoc; then \ 
     125          cp -r $(srcdir)/apidoc $(DESTDIR)$(nxjavadocdir); \ 
     126          find $(DESTDIR)$(nxjavadocdir)/apidoc -type f -exec chmod 0644 {} \; ;\ 
     127          find $(DESTDIR)$(nxjavadocdir)/apidoc -type d -exec chmod 0755 {} \; ;\ 
     128        fi 
     129 
     130clean-local : 
     131        rm -rf apidoc 
     132 
     133uninstall-local : 
     134        rm -fr $(DESTDIR)$(nxjavadocdir)/apidoc 
     135 
     136# 
    120137# Windows import library for DLL 
    121138 
     
    136153endif 
    137154 
     155 
    138156## include $(top_srcdir)/build_rules.am 
  • trunk/bindings/java/org/nexusformat/NexusFile.java

    r1473 r1474  
    1111  * different calling standards between C and Java.  
    1212  * 
    13   * @example TestJapi.java 
    14   * Test program for Java API 
    1513  * 
    1614  * @author Mark Koennecke, October 2000 
     
    2119  * 
    2220  * added nxinitattrdir: Mark Koennecke, October 2009  
     21  * 
     22  * @see TestJapi.java 
     23  * 
     24  */ 
     25 
     26  /** 
     27  * @example TestJapi.java 
     28  * Test program for Java API. 
     29  * Illustrates using the #org.nexusformat package 
    2330  */ 
    2431package org.nexusformat; 
  • trunk/bindings/python/nxs/napi.py

    r1473 r1474  
    1717   os.environ['NEXUSLIB']                  - All 
    1818   directory containing nxs.py             - All 
    19    os.environ['NEXUSDIR']\bin              - Windows 
     19   os.environ['NEXUSDIR']\\bin              - Windows 
    2020   os.environ['LD_LIBRARY_PATH']           - Unix 
    2121   os.environ['DYLD_LIBRARY_PATH']         - Darwin 
     
    5050@endcode 
    5151 
    52   See @example nxstest.py for a more complete example. 
     52  See @see nxstest.py for a more complete example. 
    5353 
    5454Interface 
     
    125125 
    126126""" 
     127 
     128## @example nxstest.py 
     129#  Test program for NeXus python interface 
    127130 
    128131__all__ = ['UNLIMITED', 'MAXRANK', 'MAXNAMELEN','MAXPATHLEN','H4SKIP', 
  • trunk/doc/doxygen/Doxyfile_c

    r1473 r1474  
    628628# the \include command). 
    629629 
    630 EXAMPLE_PATH           = 
     630EXAMPLE_PATH           = $(TOPSRC)/test 
    631631 
    632632# If the value of the EXAMPLE_PATH tag contains directories, you can use the 
     
    635635# blank all files are included. 
    636636 
    637 EXAMPLE_PATTERNS       = 
     637EXAMPLE_PATTERNS       = *.c *.h 
    638638 
    639639# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be 
  • trunk/doc/doxygen/Doxyfile_cpp

    r1473 r1474  
    642642# blank all files are included. 
    643643 
    644 EXAMPLE_PATTERNS       = *.cpp *.cxx 
     644EXAMPLE_PATTERNS       = *.cpp *.cxx *.hpp 
    645645 
    646646# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be 
  • trunk/src/napi.c

    r1470 r1474  
    6767 */ 
    6868 
     69/** 
     70 * \example napi_test.c 
     71 * This is the test program for the NeXus C API. 
     72 * It illustrates calling most functions to read and write a file. 
     73 */ 
    6974 
    7075 
Note: See TracChangeset for help on using the changeset viewer.