From: vsv Date: Tue, 7 Aug 2018 13:33:12 +0000 (+0300) Subject: Add SketchPlugin document template. X-Git-Tag: SHAPER_V9_1_0RC1~73^2~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=700d8de5091e82c91f5183f3b73e67903918b78c;p=modules%2Fshaper.git Add SketchPlugin document template. Set SALOME help documents template. --- diff --git a/doc/gui/Makefile b/doc/gui/Makefile deleted file mode 100644 index 2cd260e71..000000000 --- a/doc/gui/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# Minimal makefile for Sphinx documentation -# - -# You can set these variables from the command line. -SPHINXOPTS = -SPHINXBUILD = sphinx-build -SPHINXPROJ = SHAPER -SOURCEDIR = . -BUILDDIR = _build - -# Put it first so that "make" without argument is like "make help". -help: - @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) - -.PHONY: help Makefile - -# Catch-all target: route all unknown targets to Sphinx using the new -# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). -%: Makefile - @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) \ No newline at end of file diff --git a/doc/gui/SketchPlugin/angleFeature.rst b/doc/gui/SketchPlugin/angleFeature.rst new file mode 100644 index 000000000..b952464e6 --- /dev/null +++ b/doc/gui/SketchPlugin/angleFeature.rst @@ -0,0 +1,3 @@ + +Angle constraint +================ diff --git a/doc/gui/SketchPlugin/arcFeature.rst b/doc/gui/SketchPlugin/arcFeature.rst new file mode 100644 index 000000000..cbc880f69 --- /dev/null +++ b/doc/gui/SketchPlugin/arcFeature.rst @@ -0,0 +1,3 @@ + +Arc +=== diff --git a/doc/gui/SketchPlugin/circleFeature.rst b/doc/gui/SketchPlugin/circleFeature.rst new file mode 100644 index 000000000..3142b2a9b --- /dev/null +++ b/doc/gui/SketchPlugin/circleFeature.rst @@ -0,0 +1,3 @@ + +Circle +====== diff --git a/doc/gui/SketchPlugin/coincedenceFeature.rst b/doc/gui/SketchPlugin/coincedenceFeature.rst new file mode 100644 index 000000000..9ac094f2f --- /dev/null +++ b/doc/gui/SketchPlugin/coincedenceFeature.rst @@ -0,0 +1,3 @@ + +Coincidence constraint +====================== diff --git a/doc/gui/SketchPlugin/collinearFeature.rst b/doc/gui/SketchPlugin/collinearFeature.rst new file mode 100644 index 000000000..dafedfd40 --- /dev/null +++ b/doc/gui/SketchPlugin/collinearFeature.rst @@ -0,0 +1,3 @@ + +Collinear constraint +==================== diff --git a/doc/gui/SketchPlugin/distanceFeature.rst b/doc/gui/SketchPlugin/distanceFeature.rst new file mode 100644 index 000000000..d2414d81c --- /dev/null +++ b/doc/gui/SketchPlugin/distanceFeature.rst @@ -0,0 +1,3 @@ + +Distance constraint +=================== diff --git a/doc/gui/SketchPlugin/ellipseFeature.rst b/doc/gui/SketchPlugin/ellipseFeature.rst new file mode 100644 index 000000000..bc751c01e --- /dev/null +++ b/doc/gui/SketchPlugin/ellipseFeature.rst @@ -0,0 +1,3 @@ + + Ellipse + ======= diff --git a/doc/gui/SketchPlugin/equalFeature.rst b/doc/gui/SketchPlugin/equalFeature.rst new file mode 100644 index 000000000..5c265e33b --- /dev/null +++ b/doc/gui/SketchPlugin/equalFeature.rst @@ -0,0 +1,3 @@ + +Equal constraint +================ diff --git a/doc/gui/SketchPlugin/filletFeature.rst b/doc/gui/SketchPlugin/filletFeature.rst new file mode 100644 index 000000000..879ce5953 --- /dev/null +++ b/doc/gui/SketchPlugin/filletFeature.rst @@ -0,0 +1,3 @@ + +Fillet +====== diff --git a/doc/gui/SketchPlugin/horizontalDistFeature.rst b/doc/gui/SketchPlugin/horizontalDistFeature.rst new file mode 100644 index 000000000..f8008e25c --- /dev/null +++ b/doc/gui/SketchPlugin/horizontalDistFeature.rst @@ -0,0 +1,3 @@ + +Horizontal distance constraint +============================== diff --git a/doc/gui/SketchPlugin/horizontalFeature.rst b/doc/gui/SketchPlugin/horizontalFeature.rst new file mode 100644 index 000000000..af71b88d7 --- /dev/null +++ b/doc/gui/SketchPlugin/horizontalFeature.rst @@ -0,0 +1,3 @@ + +Horizontal constraint +===================== diff --git a/doc/gui/SketchPlugin/images/Arc1.png b/doc/gui/SketchPlugin/images/Arc1.png new file mode 100644 index 000000000..f05a75e5f Binary files /dev/null and b/doc/gui/SketchPlugin/images/Arc1.png differ diff --git a/doc/gui/SketchPlugin/images/Arc2.png b/doc/gui/SketchPlugin/images/Arc2.png new file mode 100644 index 000000000..17ece66a9 Binary files /dev/null and b/doc/gui/SketchPlugin/images/Arc2.png differ diff --git a/doc/gui/SketchPlugin/images/Arc3.png b/doc/gui/SketchPlugin/images/Arc3.png new file mode 100644 index 000000000..ba8d07c44 Binary files /dev/null and b/doc/gui/SketchPlugin/images/Arc3.png differ diff --git a/doc/gui/SketchPlugin/images/Circle1.png b/doc/gui/SketchPlugin/images/Circle1.png new file mode 100644 index 000000000..86c3d9cea Binary files /dev/null and b/doc/gui/SketchPlugin/images/Circle1.png differ diff --git a/doc/gui/SketchPlugin/images/Circle2.png b/doc/gui/SketchPlugin/images/Circle2.png new file mode 100644 index 000000000..34c206d93 Binary files /dev/null and b/doc/gui/SketchPlugin/images/Circle2.png differ diff --git a/doc/gui/SketchPlugin/images/Fillet.png b/doc/gui/SketchPlugin/images/Fillet.png new file mode 100644 index 000000000..8abbb8140 Binary files /dev/null and b/doc/gui/SketchPlugin/images/Fillet.png differ diff --git a/doc/gui/SketchPlugin/images/Intersection.png b/doc/gui/SketchPlugin/images/Intersection.png new file mode 100644 index 000000000..9382871e1 Binary files /dev/null and b/doc/gui/SketchPlugin/images/Intersection.png differ diff --git a/doc/gui/SketchPlugin/images/Line.png b/doc/gui/SketchPlugin/images/Line.png new file mode 100644 index 000000000..2f48eee17 Binary files /dev/null and b/doc/gui/SketchPlugin/images/Line.png differ diff --git a/doc/gui/SketchPlugin/images/Point.png b/doc/gui/SketchPlugin/images/Point.png new file mode 100644 index 000000000..c4691b68e Binary files /dev/null and b/doc/gui/SketchPlugin/images/Point.png differ diff --git a/doc/gui/SketchPlugin/images/Projection.png b/doc/gui/SketchPlugin/images/Projection.png new file mode 100644 index 000000000..403cc74fc Binary files /dev/null and b/doc/gui/SketchPlugin/images/Projection.png differ diff --git a/doc/gui/SketchPlugin/images/Rectangle.png b/doc/gui/SketchPlugin/images/Rectangle.png new file mode 100644 index 000000000..2bb9f9151 Binary files /dev/null and b/doc/gui/SketchPlugin/images/Rectangle.png differ diff --git a/doc/gui/SketchPlugin/images/SketchProperties.png b/doc/gui/SketchPlugin/images/SketchProperties.png new file mode 100644 index 000000000..e3f3991af Binary files /dev/null and b/doc/gui/SketchPlugin/images/SketchProperties.png differ diff --git a/doc/gui/SketchPlugin/images/Split.png b/doc/gui/SketchPlugin/images/Split.png new file mode 100644 index 000000000..871ce3b4c Binary files /dev/null and b/doc/gui/SketchPlugin/images/Split.png differ diff --git a/doc/gui/SketchPlugin/images/StartSketch.png b/doc/gui/SketchPlugin/images/StartSketch.png new file mode 100644 index 000000000..3039b3fa0 Binary files /dev/null and b/doc/gui/SketchPlugin/images/StartSketch.png differ diff --git a/doc/gui/SketchPlugin/images/Trim.png b/doc/gui/SketchPlugin/images/Trim.png new file mode 100644 index 000000000..ac7646666 Binary files /dev/null and b/doc/gui/SketchPlugin/images/Trim.png differ diff --git a/doc/gui/SketchPlugin/intersectionFeature.rst b/doc/gui/SketchPlugin/intersectionFeature.rst new file mode 100644 index 000000000..d48c825a1 --- /dev/null +++ b/doc/gui/SketchPlugin/intersectionFeature.rst @@ -0,0 +1,3 @@ + +Intersection +============ diff --git a/doc/gui/SketchPlugin/lengthFeature.rst b/doc/gui/SketchPlugin/lengthFeature.rst new file mode 100644 index 000000000..3b5ab8391 --- /dev/null +++ b/doc/gui/SketchPlugin/lengthFeature.rst @@ -0,0 +1,3 @@ + +Length constraint +================= diff --git a/doc/gui/SketchPlugin/lineFeature.rst b/doc/gui/SketchPlugin/lineFeature.rst new file mode 100644 index 000000000..d50a2f6c7 --- /dev/null +++ b/doc/gui/SketchPlugin/lineFeature.rst @@ -0,0 +1,3 @@ + +Line +==== diff --git a/doc/gui/SketchPlugin/middleFeature.rst b/doc/gui/SketchPlugin/middleFeature.rst new file mode 100644 index 000000000..3f7b91f48 --- /dev/null +++ b/doc/gui/SketchPlugin/middleFeature.rst @@ -0,0 +1,3 @@ + +Middle constraint +================= diff --git a/doc/gui/SketchPlugin/mirrorFeature.rst b/doc/gui/SketchPlugin/mirrorFeature.rst new file mode 100644 index 000000000..deb91a35c --- /dev/null +++ b/doc/gui/SketchPlugin/mirrorFeature.rst @@ -0,0 +1,3 @@ + +Mirror +====== diff --git a/doc/gui/SketchPlugin/parallelFeature.rst b/doc/gui/SketchPlugin/parallelFeature.rst new file mode 100644 index 000000000..77d0326b3 --- /dev/null +++ b/doc/gui/SketchPlugin/parallelFeature.rst @@ -0,0 +1,3 @@ + +Parallel constraint +=================== diff --git a/doc/gui/SketchPlugin/perpendicularFeature.rst b/doc/gui/SketchPlugin/perpendicularFeature.rst new file mode 100644 index 000000000..43a955d0f --- /dev/null +++ b/doc/gui/SketchPlugin/perpendicularFeature.rst @@ -0,0 +1,3 @@ + +Perpendicular constraint +======================== diff --git a/doc/gui/SketchPlugin/pointFeature.rst b/doc/gui/SketchPlugin/pointFeature.rst new file mode 100644 index 000000000..64f21b167 --- /dev/null +++ b/doc/gui/SketchPlugin/pointFeature.rst @@ -0,0 +1,3 @@ + +Point +===== diff --git a/doc/gui/SketchPlugin/projectionFeature.rst b/doc/gui/SketchPlugin/projectionFeature.rst new file mode 100644 index 000000000..babf39569 --- /dev/null +++ b/doc/gui/SketchPlugin/projectionFeature.rst @@ -0,0 +1,3 @@ + +Projection +========== diff --git a/doc/gui/SketchPlugin/radiusFeature.rst b/doc/gui/SketchPlugin/radiusFeature.rst new file mode 100644 index 000000000..c8a04beb4 --- /dev/null +++ b/doc/gui/SketchPlugin/radiusFeature.rst @@ -0,0 +1,3 @@ + +Radius constraint +================= diff --git a/doc/gui/SketchPlugin/rigidFeature.rst b/doc/gui/SketchPlugin/rigidFeature.rst new file mode 100644 index 000000000..1fcef1ac0 --- /dev/null +++ b/doc/gui/SketchPlugin/rigidFeature.rst @@ -0,0 +1,3 @@ + +Rigid constraint +================ diff --git a/doc/gui/SketchPlugin/rotationFeature.rst b/doc/gui/SketchPlugin/rotationFeature.rst new file mode 100644 index 000000000..daaa47ab0 --- /dev/null +++ b/doc/gui/SketchPlugin/rotationFeature.rst @@ -0,0 +1,3 @@ + +Rotation +======== diff --git a/doc/gui/SketchPlugin/sketchPlugin.rst b/doc/gui/SketchPlugin/sketchPlugin.rst new file mode 100644 index 000000000..59a693866 --- /dev/null +++ b/doc/gui/SketchPlugin/sketchPlugin.rst @@ -0,0 +1,72 @@ + +.. _sketchPlugin: + + +Sketch plug-in +================ + + +.. image:: images/StartSketch.png + :align: center + +.. centered:: + Start sketcher + + + +.. image:: images/SketchProperties.png + :align: center + +.. centered:: + Sketcher properies panel + + +Sketch objects +-------------- + +.. toctree:: + :maxdepth: 1 + + arcFeature.rst + circleFeature.rst + ellipseFeature.rst + lineFeature.rst + pointFeature.rst + +Constraints +----------- + +.. toctree:: + :maxdepth: 1 + + angleFeature.rst + coincedenceFeature.rst + collinearFeature.rst + distanceFeature.rst + equalFeature.rst + horizontalDistFeature.rst + horizontalFeature.rst + lengthFeature.rst + middleFeature.rst + parallelFeature.rst + perpendicularFeature.rst + radiusFeature.rst + rigidFeature.rst + tangentFeature.rst + verticalDistFeature.rst + verticalFeature.rst + +Operations +---------- + +.. toctree:: + :maxdepth: 1 + + filletFeature.rst + intersectionFeature.rst + mirrorFeature.rst + projectionFeature.rst + rotationFeature.rst + splitFeature.rst + translationFeature.rst + trimFeature.rst diff --git a/doc/gui/SketchPlugin/splitFeature.rst b/doc/gui/SketchPlugin/splitFeature.rst new file mode 100644 index 000000000..ad36430f9 --- /dev/null +++ b/doc/gui/SketchPlugin/splitFeature.rst @@ -0,0 +1,3 @@ + +Split +===== diff --git a/doc/gui/SketchPlugin/tangentFeature.rst b/doc/gui/SketchPlugin/tangentFeature.rst new file mode 100644 index 000000000..2ddc42082 --- /dev/null +++ b/doc/gui/SketchPlugin/tangentFeature.rst @@ -0,0 +1,3 @@ + +Tangent constraint +================== diff --git a/doc/gui/SketchPlugin/translationFeature.rst b/doc/gui/SketchPlugin/translationFeature.rst new file mode 100644 index 000000000..730589cc7 --- /dev/null +++ b/doc/gui/SketchPlugin/translationFeature.rst @@ -0,0 +1,3 @@ + +Translation +=========== diff --git a/doc/gui/SketchPlugin/trimFeature.rst b/doc/gui/SketchPlugin/trimFeature.rst new file mode 100644 index 000000000..7c9c2ce35 --- /dev/null +++ b/doc/gui/SketchPlugin/trimFeature.rst @@ -0,0 +1,3 @@ + +Trim +==== diff --git a/doc/gui/SketchPlugin/verticalDistFeature.rst b/doc/gui/SketchPlugin/verticalDistFeature.rst new file mode 100644 index 000000000..5a98df362 --- /dev/null +++ b/doc/gui/SketchPlugin/verticalDistFeature.rst @@ -0,0 +1,3 @@ + +Vertical distance constraint +============================ diff --git a/doc/gui/SketchPlugin/verticalFeature.rst b/doc/gui/SketchPlugin/verticalFeature.rst new file mode 100644 index 000000000..4b705ef40 --- /dev/null +++ b/doc/gui/SketchPlugin/verticalFeature.rst @@ -0,0 +1,3 @@ + +Vertical constraint +=================== diff --git a/doc/gui/conf.py.in b/doc/gui/conf.py.in index 68f3d4860..8d222a1d7 100644 --- a/doc/gui/conf.py.in +++ b/doc/gui/conf.py.in @@ -16,8 +16,8 @@ # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. # -# import os -# import sys +import os +import sys # sys.path.insert(0, os.path.abspath('.')) @@ -30,10 +30,15 @@ # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. -extensions = [] +extensions = ['sphinx.ext.autodoc','sphinx.ext.autosummary'] +try: + import sphinxcontrib.napoleon + extensions += ['sphinxcontrib.napoleon'] +except: + pass # Add any paths that contain templates here, relative to this directory. -templates_path = ['_templates'] +templates_path = [os.path.join('@CMAKE_CURRENT_SOURCE_DIR@','templates')] # The suffix(es) of source filenames. # You can specify multiple suffix as a list of string: @@ -47,7 +52,9 @@ master_doc = 'index' # General information about the project. project = u'SHAPER' copyright = u'2014-2017 CEA/DEN, EDF R&D' -author = u'vsv' + +# Copyright is shown via custom footer +html_show_copyright = False # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -63,7 +70,7 @@ release = u'3.0.0' # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. -language = None +#language = None # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. @@ -74,7 +81,7 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] pygments_style = 'sphinx' # If true, `todo` and `todoList` produce output, else they produce nothing. -todo_include_todos = False +# todo_include_todos = False # -- Options for HTML output ---------------------------------------------- @@ -82,7 +89,7 @@ todo_include_todos = False # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -html_theme = 'alabaster' +html_theme = '@SPHINX_THEME@' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the @@ -93,7 +100,7 @@ html_theme = 'alabaster' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] +html_static_path = [os.path.join('@CMAKE_CURRENT_BINARY_DIR@','static')] # -- Options for HTMLHelp output ------------------------------------------ @@ -104,23 +111,17 @@ htmlhelp_basename = 'SHAPERdoc' # -- Options for LaTeX output --------------------------------------------- -latex_elements = { - # The paper size ('letterpaper' or 'a4paper'). - # - # 'papersize': 'letterpaper', - - # The font size ('10pt', '11pt' or '12pt'). - # - # 'pointsize': '10pt', +# The paper size ('letter' or 'a4'). +latex_paper_size = 'a4' - # Additional stuff for the LaTeX preamble. - # - # 'preamble': '', +# The font size ('10pt', '11pt' or '12pt'). +latex_font_size = '10pt' - # Latex figure (float) alignment - # - # 'figure_align': 'htbp', -} +# Grouping the document tree into LaTeX files. List of tuples +# (source start file, target name, title, author, document class [howto/manual]). +latex_documents = [ + ('index', 'SHAPER.tex', 'SHAPER User Documentation', '', 'manual'), +] # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, @@ -135,10 +136,10 @@ latex_documents = [ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). -man_pages = [ - (master_doc, 'shaper', u'SHAPER Documentation', - [author], 1) -] +#man_pages = [ +# (master_doc, 'shaper', u'SHAPER Documentation', +# [author], 1) +#] # -- Options for Texinfo output ------------------------------------------- @@ -146,8 +147,8 @@ man_pages = [ # Grouping the document tree into Texinfo files. List of tuples # (source start file, target name, title, author, # dir menu entry, description, category) -texinfo_documents = [ - (master_doc, 'SHAPER', u'SHAPER Documentation', - author, 'SHAPER', 'One line description of project.', - 'Miscellaneous'), -] +#texinfo_documents = [ +# (master_doc, 'SHAPER', u'SHAPER Documentation', +# author, 'SHAPER', 'One line description of project.', +# 'Miscellaneous'), +#] diff --git a/doc/gui/index.rst b/doc/gui/index.rst index e43ee518b..cfa25b6a0 100644 --- a/doc/gui/index.rst +++ b/doc/gui/index.rst @@ -11,6 +11,7 @@ Welcome to SHAPER's documentation! :caption: Contents: FeaturesPlugin/featuresPlugin.rst + SketchPlugin/sketchPlugin.rst Indices and tables ================== diff --git a/doc/gui/make.bat b/doc/gui/make.bat deleted file mode 100644 index a3355b462..000000000 --- a/doc/gui/make.bat +++ /dev/null @@ -1,36 +0,0 @@ -@ECHO OFF - -pushd %~dp0 - -REM Command file for Sphinx documentation - -if "%SPHINXBUILD%" == "" ( - set SPHINXBUILD=sphinx-build -) -set SOURCEDIR=. -set BUILDDIR=_build -set SPHINXPROJ=SHAPER - -if "%1" == "" goto help - -%SPHINXBUILD% >NUL 2>NUL -if errorlevel 9009 ( - echo. - echo.The 'sphinx-build' command was not found. Make sure you have Sphinx - echo.installed, then set the SPHINXBUILD environment variable to point - echo.to the full path of the 'sphinx-build' executable. Alternatively you - echo.may add the Sphinx directory to PATH. - echo. - echo.If you don't have Sphinx installed, grab it from - echo.http://sphinx-doc.org/ - exit /b 1 -) - -%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% -goto end - -:help -%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% - -:end -popd diff --git a/doc/gui/static/switchers.js.in b/doc/gui/static/switchers.js.in new file mode 100644 index 000000000..8595b5c1c --- /dev/null +++ b/doc/gui/static/switchers.js.in @@ -0,0 +1,72 @@ +(function() { + 'use strict'; + + // Parses versions in URL segments like: + + var all_languages = { + 'en': 'English', + 'fr': 'French', + }; + + function build_language_select(current_language) { + var buf = [''); + return buf.join(''); + } + + function on_language_switch() { + var selected_language = $(this).children('option:selected').attr('value') + '/'; + var url = window.location.href; + + var current_language = language_segment_from_url(url); + var current_suffix = ""; + if (current_language != "") { + current_suffix = "_"; + } else { + current_language = "/"; + } + + var selected_suffix = "_"; + if (selected_language == 'en/') { // Special 'default' case for english. + selected_language = ''; + selected_suffix = "/"; + } + + var new_url = url.replace('/gui/SMESH' + current_suffix + current_language, + '/gui/SMESH' + selected_suffix + selected_language); + if (new_url != url) { + window.location.href = new_url; + } + } + + // Returns the path segment of the language as a string, like 'fr/' + // or '' if not found. + function language_segment_from_url(url) { + var language_regexp = '\/gui/SMESH_([a-z]{2}(?:-[a-z]{2})?/)'; + var match = url.match(language_regexp); + if (match !== null) + return match[1]; + return ''; + } + + $(document).ready(function() { + if(@BUILD_LANGUAGE_SWITCHER@) { + var release = DOCUMENTATION_OPTIONS.VERSION; + var language_segment = language_segment_from_url(window.location.href); + var current_language = language_segment.replace(/\/+$/g, '') || 'English'; + + var language_select = build_language_select(current_language); + + $('.language_switcher_placeholder').html(language_select); + $('.language_switcher_placeholder select').bind('change', on_language_switch); + } + }); +})(); diff --git a/doc/gui/templates/layout.html b/doc/gui/templates/layout.html new file mode 100644 index 000000000..94d467b51 --- /dev/null +++ b/doc/gui/templates/layout.html @@ -0,0 +1,30 @@ +{% extends "!layout.html" %} + +{% block rootrellink %} + {{ language or 'English' }} + {{ super() }} +{% endblock %} + +{% block extrahead %} + +{{ super() }} +{% endblock %} + +{%- block sidebarlogo %} +{{ super() }} +{%- +include "searchbox.html" +%} +

+{%- endblock %} +{%- block sidebarsearch %} +{%- endblock %} + +{%- block footer %} +

+ {{ super() }} +{%- endblock %} diff --git a/src/SketchPlugin/plugin-Sketch.xml b/src/SketchPlugin/plugin-Sketch.xml index 138c0a60b..72e0ef181 100644 --- a/src/SketchPlugin/plugin-Sketch.xml +++ b/src/SketchPlugin/plugin-Sketch.xml @@ -40,7 +40,8 @@ email : webmaster.salome@opencascade.com + icon="icons/Sketch/sketch.png" + helpfile="SketchPlugin/sketchPlugin.html"> @@ -50,14 +51,16 @@ email : webmaster.salome@opencascade.com - + - + + tooltip="Create circle" + helpfile="SketchPlugin/circleFeature.html"> + icon="icons/Sketch/arc.png" + helpfile="SketchPlugin/arcFeature.html"> + icon="icons/Sketch/fillet.png" + helpfile="SketchPlugin/filletFeature.html"> + icon="icons/Sketch/split.png" + helpfile="SketchPlugin/splitFeature.html"> + icon="icons/Sketch/trim.png" + helpfile="SketchPlugin/trimFeature.html"> + tooltip="Create ellipse" + helpfile="SketchPlugin/ellipseFeature.html"> + icon="icons/Sketch/projection.png" + helpfile="SketchPlugin/projectionFeature.html"> + icon="icons/Sketch/intersection.png" + helpfile="SketchPlugin/intersectionFeature.html"> + tooltip="Create constraint, mirroring group of objects" + helpfile="SketchPlugin/mirrorFeature.html"> @@ -518,7 +530,8 @@ email : webmaster.salome@opencascade.com + tooltip="Copy objects and move" + helpfile="SketchPlugin/translationFeature.html"> + tooltip="Copy objects and rotate" + helpfile="SketchPlugin/rotationFeature.html"> + icon="icons/Sketch/distance.png" + helpfile="SketchPlugin/distanceFeature.html">