]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
- added the doc of the Yams plugin in the SALOME install
authorrnc <rnc@opencascade.com>
Fri, 5 Apr 2013 16:04:30 +0000 (16:04 +0000)
committerrnc <rnc@opencascade.com>
Fri, 5 Apr 2013 16:04:30 +0000 (16:04 +0000)
- added an entry in the SMESH Plug-ins help menu

configure.ac
resources/SalomeApp.xml.in
src/Tools/YamsPlug/Makefile.am
src/Tools/YamsPlug/doc/Makefile.am [new file with mode: 0644]

index f51557152c642f75ee0e153a68b5932fd63289b1..b152c0465d7a5f563b8ab62016a09f2877738a47 100644 (file)
@@ -576,6 +576,7 @@ AC_OUTPUT([ \
   src/Tools/Makefile \
   src/Tools/MeshCut/Makefile \
   src/Tools/YamsPlug/Makefile \
+  src/Tools/YamsPlug/doc/Makefile \
   src/Tools/padder/Makefile \
   src/Tools/padder/meshjob/Makefile \
   src/Tools/padder/meshjob/idl/Makefile \
index fca22ab93ff70bf4247f81a2b652186b91b15b4e..72f293f20399f6cbfa5b00739e99e811fa541718 100644 (file)
   <section name="smesh_help" >
     <parameter name="sub_menu"          value="%1 module"/>
     <parameter name="User's Guide"      value="%SMESH_ROOT_DIR%/share/doc/salome/gui/SMESH/index.html"/>
+    <parameter name="Plug-ins/Yams plugin User's Guide" value="%SMESH_ROOT_DIR%/share/doc/salome/gui/SMESH/yams/index.html"/>
     <parameter name="Developer's Guide" value="%SMESH_ROOT_DIR%/share/doc/salome/tui/SMESH/index.html"/>
   </section>
   <section name="resources">
index 968b13e933ae2132d9300101163960d6a152bcbd..e1b8839d02441f88be29dbe20a56aa8fda732e89 100644 (file)
@@ -17,6 +17,8 @@
 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 
+SUBDIRS = doc
+
 include $(top_srcdir)/adm_local/unix/make_common_starter.am
 
 UIPY_FILES = YamsPlugDialog.py  ViewText.py 
diff --git a/src/Tools/YamsPlug/doc/Makefile.am b/src/Tools/YamsPlug/doc/Makefile.am
new file mode 100644 (file)
index 0000000..9a9056a
--- /dev/null
@@ -0,0 +1,61 @@
+# Makefile for Sphinx documentation
+#
+
+include $(top_srcdir)/adm_local/unix/make_common_starter.am
+
+yamsdocdir=$(docdir)/gui/SMESH/yams
+
+# You can set these variables from the command line.
+SPHINXOPTS    =
+SOURCEDIR     = $(srcdir)
+SPHINXBUILD   = sphinx-build
+PAPER         =
+BUILDDIR      = _build
+
+# Internal variables.
+PAPEROPT_a4     = -D latex_paper_size=a4
+PAPEROPT_letter = -D latex_paper_size=letter
+ALLSPHINXOPTS   = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) $(SOURCEDIR)
+
+.PHONY: help clean html latexpdf 
+
+all:
+       make html
+
+help:
+       @echo "Please use \`make <target>' where <target> is one of"
+       @echo "  html       to make standalone HTML files"
+       @echo "  dirhtml    to make HTML files named index.html in directories"
+       @echo "  singlehtml to make a single large HTML file"
+       @echo "  pickle     to make pickle files"
+       @echo "  json       to make JSON files"
+       @echo "  htmlhelp   to make HTML files and a HTML help project"
+       @echo "  qthelp     to make HTML files and a qthelp project"
+       @echo "  devhelp    to make HTML files and a Devhelp project"
+       @echo "  epub       to make an epub"
+       @echo "  latex      to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
+       @echo "  latexpdf   to make LaTeX files and run them through pdflatex"
+       @echo "  text       to make text files"
+       @echo "  man        to make manual pages"
+       @echo "  changes    to make an overview of all changed/added/deprecated items"
+       @echo "  linkcheck  to check all external links for integrity"
+       @echo "  doctest    to run all doctests embedded in the documentation (if enabled)"
+
+install-data-local: all
+       test -z $(yamsdocdir) || mkdir -p $(yamsdocdir)
+       cp -rf $(BUILDDIR)/html/* $(yamsdocdir) ;
+
+clean:
+       -rm -rf $(BUILDDIR)/*
+
+html:
+       $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
+       @echo
+       @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
+
+latexpdf:
+       $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
+       @echo "Running LaTeX files through pdflatex..."
+       $(MAKE) -C $(BUILDDIR)/latex all-pdf
+       @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
+