Commit 3da4c4da authored by Rafael Ostertag's avatar Rafael Ostertag
Browse files

Merge remote-tracking branch 'origin/raos_work' into raos_work

parents d0783875 555e0fe1
/.python_virtualenv
/.plantuml_install
/doc/*.pdf
/.doc_plantuml
......
PHPDOC ?= support/pear/phpdoc
JSDOC ?= jsdoc
PKG_VERSION = $(shell awk '/version/ { print $$3 }' extension/ext_emconf.php | sed "s/'//g")
NIGHTLY_DATE = $(shell date '+%Y%m%d')
RELEASE_DATE = $(shell date '+%Y%m%d%H%M')
GIT_REVISION_SHORT = $(shell git rev-parse --short HEAD || true)
GIT_REVISION_LONG = $(shell git rev-parse HEAD || true)
EXTENSION_CONTENT = Classes Configuration Documentation qfq Resources ext_emconf.php ext_localconf.php ext_tables.php ext_icon.png config.qfq.example.ini RELEASE.txt
DISTDIR=dist
# Use by jenkins to separate temp directories used by pip in order to allow concurrent builds
PIP_TMP ?= /tmp
all: archive t3sphinx
doc: phpdoc jsdoc plantuml
......@@ -24,6 +32,9 @@ qfq.zip:
clean:
rm -f qfq_$(PKG_VERSION).zip
update-qfq-doc:
rsync -av --delete --exclude=_make --exclude=_static extension/Documentation/ ../qfq-doc/Documentation/
git-revision: make-dist-dir
echo $(GIT_REVISION_LONG) > $(DISTDIR)/revision.git
......@@ -45,14 +56,14 @@ build-dist: t3sphinx make-dist-dir dist-copy-extension dist-move-doc git-revisio
echo "Distribution made in $(DIST)"
nightly: bootstrap build-dist
cd $(DISTDIR); zip -r ../qfq-$(NIGHTLY_DATE) $(EXTENSION_CONTENT) revision.git -x config.ini
cd $(DISTDIR); zip -r ../qfq_$(NIGHTLY_DATE) $(EXTENSION_CONTENT) revision.git -x config.ini
snapshot: bootstrap build-dist
cd $(DISTDIR) ; zip -r ../qfq-$(NIGHTLY_DATE)-$(GIT_REVISION_SHORT) $(EXTENSION_CONTENT) revision.git -x config.ini
cd $(DISTDIR) ; zip -r ../qfq_$(NIGHTLY_DATE)_$(GIT_REVISION_SHORT) $(EXTENSION_CONTENT) revision.git -x config.ini
release: bootstrap build-dist
if [ -z "$(VERSION)" ] ; then echo "Set VERSION make variable to the release version (fmt: maj.min.micro)" ; exit 1 ; fi
cd $(DISTDIR) ; zip -r "../qfq.$(VERSION)_$(RELEASE_DATE).zip" $(EXTENSION_CONTENT) revision.git -x config.ini
cd $(DISTDIR) ; zip -r "../qfq_$(VERSION)_$(RELEASE_DATE).zip" $(EXTENSION_CONTENT) revision.git -x config.ini
t3sphinx: .virtual_env
. .python_virtualenv/bin/activate ; cd extension/Documentation/_make; make html
......@@ -107,9 +118,12 @@ phpdoc: .phpdocinstall
mkdir -p doc/plantuml/php
touch $@
.virtual_env:
.virtual_env: pip-temp-directory
virtualenv .python_virtualenv
. .python_virtualenv/bin/activate ; pip install --upgrade sphinx==1.5.5
. .python_virtualenv/bin/activate ; TMPDIR="$(PIP_TMP)" pip install --upgrade sphinx==1.5.5
touch $@
.PHONY: nightly maintainer-clean snapshot release git-revision t3sphinx build-dist make-dist-dir dist-move-doc dist-copy-extension
pip-temp-directory:
test -d "$(PIP_TMP)" || mkdir -p "$(PIP_TMP)"
.PHONY: nightly maintainer-clean snapshot release git-revision t3sphinx build-dist make-dist-dir dist-move-doc dist-copy-extension pip-temp-directory
......@@ -9,14 +9,20 @@ Download
See: https://w3.math.uzh.ch/qfq/
* release - Stable
* nightly - Development version
* snapshot - Current, development version
* nightly - Development version(1)
* snapshot - Current, development version(1)
(1) To install the extension, the name of uploaded ZIP file has to follow some rule:
* <ext>.zip or
* <ext>_<major>.<minor>[.<micro>][_<something].zip
Documentation
-------------
See the documentation provided with the exentions inside Typo3 or the latest version
under https://docs.typo3.org/typo3cms/drafts/github/T3DocumentationStarter/Public-Info-053/Index.html
See the documentation provided with the exentions inside Typo3
<your Typo3 installation>/typo3conf/ext/qfq/Documentation/html/Index.html
Or the latest stable version under https://docs.typo3.org/typo3cms/drafts/github/T3DocumentationStarter/Public-Info-053/Index.html
......@@ -176,7 +176,7 @@ Upload to server, before 'save'
[STORE_EXTRA][<uploadSip>][FILES_FLAG_DELETE]='1'
* An optional previous upload file (still not saved on the final place) will be deleted.
* An optional existing variable [STORE_EXTRA][<uploadSip>][FILES_TMP_NAME] will be deleted. The 'flagDelete' must not
be change - it's later needed to detect to delete earlier uploaded files.
be change - it's later needed to detect to delete, earlier uploaded files.
Form save
.........
......
Neuer Build
===========
* snpashot: Wird ein Tag vergeben der mit 'v' beginnt, erzeugt das automatisch ein Build in 'snapshot' (w3.math.uzh.ch/qfq)
* nightly: Ein Commit in den den Masterbranch erzeugt automatisch in der Nacht ein 'nightly' Build (w3.math.uzh.ch/qfq)
* CR commmitet immer in den Master Branch
* release: Wird ein *Tag* vergeben (egal welcher Branch) der mit 'v' beginnt, erzeugt das automatisch ein Build in 'snapshot' (https://w3.math.uzh.ch/qfq)
* snpashot: Jeder Commit (egal welcher Branch) erzeugt einen Snapshot.
* nightly: Nach einem Commit auf Branch 'master' tagsueber, wird um 23:55 ein 'nightly' Build erstellt (https://w3.math.uzh.ch/qfq).
* CR commmittet immer in den Master Branch.
Neue Versionsnummer
===================
......@@ -17,30 +18,35 @@ Neue Versionsnummer
2) In folgenden Files anpassen:
Auto: ./setVersion.sh MAJOR MINOR MICRO
Auto: ./setVersion.sh MAJOR MINOR MICRO
Manuell:
* extension/Documentation/_make/conf.py: release, version
* extension/Documentation/Settings.yml: version
* extension/Documentation/Settings.cfg: version
* extension/ext_emconf.php: version
3) Im Projektverzeichnis:
make t3sphinx (dadurch fallen Fehler in RESTdoc Syntax auf)
4) Merge auf master Branch
4) Neuen Tag vergeben:
# Alles einchecken ausser 'NewVersion.md': in phpStorm 'git commit'
Alles einchecken
git checkout master
git merge crose_work
5) Neuen Tag vergeben:
git tag v0.17.0
git push -u origin v0.17.0
git tag v0.17.1
git push -u origin v0.17.1
6) Per PhpStorm Sync aller Files auf VM qfq
5) Per PhpStorm Sync aller Files auf VM qfq.
6) In T3 Instanz Dokumentation rendern lassen.
7) In T3 Instanz Dokumentation rendern lassen.
T3 6.2: Admin Tools > Extension Manager > QFQ > Doku HTML: rechts oben 'Render Documentation'
Update Doku auf docs.typo3.org
==============================
https://docs.typo3.org/typo3cms/drafts/github/T3DocumentationStarter/Public-Info-053/
1) Im `qfq` Projektverzeichnis: make update-qfq-doc
2) In `qfq-doc` Projektverzeichnis wechseln und auf github einchechen:
git commit -a
git push # User: math-uzh, PW: <kpit>
......@@ -51,21 +51,21 @@ For the `download`_ function, the program `pdftk` is necessary to concatenate PD
Preparation for Ubuntu 14.04::
sudo apt-get install php5-mysqlnd php5-intl pdftk
sudo apt-get install php5-mysqlnd php5-intl
sudo apt-get install pdftk file # for file upload and PDF
sudo php5enmod mysqlnd
sudo service apache2 restart
Preparation steps for Ubuntu 16.04::
sudo apt install php7.0-intl
sudo apt install pdftk libxrender1 # for PDF and 'HTML to PDF' (wkhtmltopdf)
sudo apt install pdftk libxrender1 file # for file upload, PDF and 'HTML to PDF' (wkhtmltopdf)
.. _wkhtmltopdf:
wkhtmltopdf
^^^^^^^^^^^
`wkhtmltopdf` `<http://wkhtmltopdf.org/>`_ will be used by QFQ to offer 'website print' and 'HTML to PDF' conversion.
The converter is not included in QFQ and has to be manually installed.
......@@ -123,7 +123,8 @@ Setup
* Copy/rename the file *<Documentroot>/typo3conf/ext/<ext_dir>/config.example.qfq.ini* to
*<Documentroot>/typo3conf/config.qfq.ini* and configure the necessary values: `config.qfq.ini`_
The configuration file is outside the extension directory to not loose it during updates.
* Play the SQL File *<ext_dir>/qfq/sql/formEditor.sql* to fill the database with the *FormEditor* records.
* When the QFQ Extension is called the first time on the Typo3 Frontend, the file *<ext_dir>/qfq/sql/formEditor.sql* will
played and fills the database with the *FormEditor* records. This also happens automatically after each software update of QFQ.
* Configure Typoscript to include Bootstrap, jQuery, QFQ javascript and CSS files.
::
......@@ -221,6 +222,8 @@ config.qfq.ini
| SHOW_DEBUG_INFO | SHOW_DEBUG_INFO=auto | Possible values: auto|yes|no. For 'auto': If a BE User is logged in, |
| | | debug information will be shown on the fronend. |
+-----------------------------+-------------------------------------------------+----------------------------------------------------------------------------+
| REDIRECT_ALL_MAIL_TO | REDIRECT_ALL_MAIL_TO=john@doe.com | If set, redirect all QFQ generated mails (Form, Report) to the specified. |
+-----------------------------+-------------------------------------------------+----------------------------------------------------------------------------+
| CSS_LINK_CLASS_INTERNA L | CSS_LINK_CLASS_INTERNAL=internal | CSS class name of links which points to internal tagets |
+-----------------------------+-------------------------------------------------+----------------------------------------------------------------------------+
| CSS_LINK_CLASS_EXTERNAL | CSS_LINK_CLASS_EXTERNAL=external | CSS class name of links which points to internal tagets |
......@@ -432,7 +435,9 @@ QFQ Keywords (Bodytext)
Debug
^^^^^
* config.ini: *SHOW_DEBUG_INFO = yes|no|auto*
`config.qfq.ini`_
* *SHOW_DEBUG_INFO = yes|no|auto*
* *yes*:
......@@ -452,6 +457,18 @@ Debug
* *SHOW_DEBUG_INFO = yes* (BE session exist)
* *SHOW_DEBUG_INFO = no* (no BE session)
.. _REDIRECT_ALL_MAIL_TO:
* *REDIRECT_ALL_MAIL_TO=john@doe.com*
* During the development, it might be helpful to configure a 'catch all' email address, which QFQ uses as the final receiver
instead of the original intended one.
* The setting will:
* Replace the 'To' with the configured one.
* Clear 'CC' and 'Bcc'
* Write a note and the original configured receiver at the top of the email body.
.. _variables:
......@@ -522,7 +539,8 @@ To protect the web application the following `escape` types are available:
* In `config.qfq.ini`_ a global `ESCAPE_TYPE_DEFAULT` can be defined. The configured escape type applies to all substituted
variables, who do not contain a *specific* escape type.
* Additionally a `defaultEscapeType` can be defined per `Form` (separate field in the Form Editor). This overwrites the
global definition of `config.qfq.ini`.
global definition of `config.qfq.ini`. By default, every `Form.defaultEscapeType` = 'c' (=config), which means the settin
in `config.qfq.ini`_.
* To suppress a default escape type, define the `escape type` = '-' on the specific variable. E.g.: `{{name:FE:alnumx:-}}`.
Sanitize class
......@@ -2219,20 +2237,40 @@ An upload element is based on a 'file browse'-button and a 'trash'-button (=dele
The 'file browse'-button is displayed, if there is no file uploaded already.
The 'trash'-button is displayed, if there is a file uploaded already.
After clicking on the browse brutton , the user can select a file from the local filesystem.
After clicking on the browse brutton, the user select a file from the local filesystem.
After choosing the file, the upload starts immediately, shown by a turning wheel. When the server received the whole file
and accepts the file, the 'file browse'-button dissappears and the filename is shown, followed by a 'trash'-button.
and accepts (see below) the file, the 'file browse'-button disappears and the filename is shown, followed by a 'trash'-button.
Either the user is satisfied now or the user can delete the uploaded file (and maybe upload another one).
Until this point, the file is cached on the server but not copied to the `fileDestination`. The user have to save the
current record, either to finalize the upload or to delete a previous uploaded file.
current record, either to finalize the upload and/or to delete a previous uploaded file.
The FormElement behaves like a
* 'native FormElement' (showing controls/text on the form) as well as an
* 'action FormElement' by fireing queries and doing some additional actions during form save.
The FormElement behaves like a 'native FormElement' (showing controls/text on the form) as well as an 'action FormElement'
by fireing queries and doing some additional actions during form save. Inside the *Form editor* it's shown as a 'native FormElement'.
Inside the *Form editor* it's shown as a 'native FormElement'.
During saving the current record, it behaves like an action FormElement
and will be processed after saving the primary record and before any action FormElements are processed.
* *FormElement.parameter*:
* *accept*: `image/*,video/*,audio/*,.doc,.docx,.pdf,<mime type>`
* *accept*: `<mime type>,image/*,video/*,audio/*,.doc,.docx,.pdf`
* List of mime types (also known as 'media types'): http://www.iana.org/assignments/media-types/media-types.xhtml
* If none is specified, 'application/pdf' is set. This forces that always (!) one type is specified.
* One or more media types might be specified, seperated by ','.
* Different browser respect the given definitions in different ways. Typically the 'file choose' dialog offer:
* the specified mime type (some browers only show 'custom', if more than one mime type is given),
* the option 'All files' (the user is always free to **try** to upload other filetypes),
* the 'file choose' dialog only offers files of the selected (in the dialog) type.
* If for a specific filetype is no mime type available, the definition of file extension(s) is possible. This is **less
secure**, cause there is no *content* check on the server after the upload.
* *maxFileSize*: max filesize in Bytes for an uploaded file. Default: 10485760 (=10MB)
* *fileDestination*: Destination where to copy the file. A good practice is to specify a relative `fileDestination` -
such an installation (filesystem and database) are moveable.
......@@ -2257,6 +2295,14 @@ by fireing queries and doing some additional actions during form save. Inside th
* *fileReplace=always*: If `fileDestination` exist - replace it by the new one.
Immediately after the upload finished (before the user press save), the file will be checked on the server for it's
content or file extension (see 'accept').
The maximum size is defined by the minimum of `upload_max_filesize`, `post_max_size`and `memory_limit` (PHP script) in the php.ini.
In case of broken uploads, please also check `max_input_time` in php.ini.
Deleting a record and the referenced file
'''''''''''''''''''''''''''''''''''''''''
......@@ -2530,6 +2576,7 @@ Type: sendmail
* To use values of the submitted form, use the STORE_FORM. E.g. `{{name:F:allbut}}`
* To use the `id` of a new created or already existing one, use the STORE_RECORD. E.g. `{{id:R}}`
* For debugging, please check `REDIRECT_ALL_MAIL_TO`_.
.. _dynamic-update:
......@@ -3729,7 +3776,7 @@ Parameter and (element) sources
If there is no `exportFilename` defined and `mode=file`, than the original filename is taken.
If the mimetype is different from the `exportFilename` extension, then the mimetype extension will be added to
If the mime type is different from the `exportFilename` extension, then the mime type extension will be added to
`exportFilename`. This guarantees that a filemanager will open the file with the correct application.
The user typically expect meaningful and distinct filenames for different download links.
......@@ -3742,7 +3789,7 @@ Parameter and (element) sources
* *mode* = <file | pdf | zip> - This parameter is optional and can be skipped in most situations. Mandatory
for 'zip'.
* If `m:file`, the mimetype is derived dynamically from the specified file. In this mode, only one element source
* If `m:file`, the mime type is derived dynamically from the specified file. In this mode, only one element source
is allowed per download link (no concatenation).
* In case of multiple element sources, only `pdf` or `zip` is supported.
......@@ -4125,6 +4172,8 @@ This will send an email with subject *Latest News* from company@example.com to c
using a realname for customer2 and customer3 and suppress generating of OoO answer if any receiver is on vacation.
Additional the CEO as well as backup will receive the mail via CC and BCC.
For debugging, please check `REDIRECT_ALL_MAIL_TO`_.
Column: _img
^^^^^^^^^^^^
......
=========================================
TYPO3 Documentation Starter "Public Info"
=========================================
:Repository: https://github.com/T3DocumentationStarter/Public-Info-053
:Published at: https://docs.typo3.org/typo3cms/drafts/github/T3DocumentationStarter/Public-Info-053/
:Writing here: Carsten Rose
.. ==================================================
.. Header hierachy
.. ==
.. --
.. ^^
.. ''
.. ;;
.. ,,
..
.. --------------------------------------------------
.. Best Practice T3 reST https://docs.typo3.org/typo3cms/drafts/github/xperseguers/RstPrimer/
.. External Links: `Bootstrap <http://getbootstrap.com/>`_:
.. Add Images: https://wiki.typo3.org/ReST_Syntax#Images
..
.. -*- coding: utf-8 -*- with BOM.
.. include:: Includes.txt
.. _release:
Release
......@@ -216,7 +235,7 @@ Bug Fixes
^^^^^^^^^
* Dynamic Update has been broken since implementing of 'element-update' (#3180). Now both methods, 'element-update' and 'form-update' should be fine.
* qfq-bs.css.less: Fixed problem with 'typeahead input elements' not expanded to Bootstrap column width. Changed
* qfq-bs.css.less: Fixed problem with 'typeahead input elements' not expanded to Bootstrap column width. Changed
Layout/Design Typeahead drop-down box. Add hoover for the drop-down box with a blue background
* AbstractBuildForm.php: #3374 - textarea elements now contains 'maxlength' attribute.
* BuildFormBootstrap.php: wrapping of optional 'submitButtonText' now done with the 'per form' values.
......
[general]
project = QFQ - Quick Form Query
version = 0.17
release = 0.17.1
t3author = Carsten Rose
copyright = since 2017 by the author
description = This is a short description
of what it's all about.
It should not be more than a few sentences.
; defaults:
# highlight_language = 'php'
# html_use_smartypants = False
# language = None
# master_doc = 'Index'
# pygments_style = 'sphinx'
# source_suffix = ['.rst', '.md']
# todo_include_todos = False
[notify]
about_new_builds = carsten.rose@math.uzh.ch
[html_theme_options]
; for theme t3SphinxThemeRtd
# to get the "Edit me on Github Button"
github_branch = master
github_repository = T3DocumentationStarter/Public-Info-053
# planned
github_commit_hash =
github_revision_msg =
# planned
github_sphinx_locale =
# Fille in values to get links in the "Related Links" section at the lower left
project_contact = mailto:carsten.rose@math.uzh.ch
project_discussions =
project_home = https://github.com/T3DocumentationStarter/Public-Info-053
project_issues = https://github.com/T3DocumentationStarter/Public-Info-053/issues
project_repository = https://github.com/T3DocumentationStarter/Public-Info-053
# leave this empty
use_opensearch =
[intersphinx_mapping]
; in this manual we actually use:
# t3api = http://typo3.org/api/typo3cms/
# t3coreapi = http://docs.typo3.org/TYPO3/CoreApiReference
# t3tsconfig = http://docs.typo3.org/typo3cms/TSconfigReference
# t3tssyntax = http://docs.typo3.org/typo3cms/TyposcriptSyntaxReference
# t3api = https://typo3.org/api/typo3cms/
# t3cgl = https://docs.typo3.org/typo3cms/CodingGuidelinesReference/
# t3coreapi = https://docs.typo3.org/typo3cms/CoreApiReference/
# t3editors = https://docs.typo3.org/typo3cms/EditorsTutorial/
# t3extbasebook = https://docs.typo3.org/typo3cms/ExtbaseFluidBook/
# t3fal = https://docs.typo3.org/typo3cms/FileAbstractionLayerReference/
# t3inside = https://docs.typo3.org/typo3cms/InsideTypo3Reference/
# t3install = https://docs.typo3.org/typo3cms/InstallationGuide/
# t3l10n = https://docs.typo3.org/typo3cms/FrontendLocalizationGuide/
# t3security = https://docs.typo3.org/typo3cms/SecurityGuide/
# t3services = https://docs.typo3.org/typo3cms/Typo3ServicesReference/
# t3skinning = https://docs.typo3.org/typo3cms/SkinningReference/
# t3start = https://docs.typo3.org/typo3cms/GettingStartedTutorial/
# t3tca = https://docs.typo3.org/typo3cms/TCAReference/
# t3templating = https://docs.typo3.org/typo3cms/TemplatingTutorial/
# t3ts45 = https://docs.typo3.org/typo3cms/TyposcriptIn45MinutesTutorial/
# t3tsconfig = https://docs.typo3.org/typo3cms/TSconfigReference/
# t3tsref = https://docs.typo3.org/typo3cms/TyposcriptReference/
# t3tssyntax = https://docs.typo3.org/typo3cms/TyposcriptSyntaxReference/
# [extensions]
#
# ; Add to list of extensions[] as defined in 'conf.py'.
# ; Mention the extensions you need. Some are loaded automatically
# ; and don't need to be mentioned. Examples:
#
# any_name_1 = sphinx.ext.extlinks
# any_name_2 = sphinx.ext.ifconfig
# any_name_3 = sphinx.ext.intersphinx
# [extlinks]
#
# ; These defaults are set in conf.py
#
# ; Example:
# ; :forge:`12345` will be rendered as
# ; <a href="https://forge.typo3.org/issues/12345">Forge #12345</a>
#
# ; name = url | prefix
#
# forge = https://forge.typo3.org/issues/%s | Forge #
# issue = https://forge.typo3.org/issues/%s | Issue #
# review = https://review.typo3.org/%s' | Review #
# [latex_documents]
#
# ; These defaults are set in conf.py
#
# source_start_file = (master_doc) ; "Index"
# target_name = PROJECT.tex
# title = (project)
# author = (t3author)
# documentclass = "manual"
# [latex_elements]
#
# ; These defaults are set conf.py
#
# papersize = a4paper ; letterpaper | a4paper
# pointsize = 10pt ; 10pt | 11pt | 12pt
# preamble = \\usepackage{typo3} ; Additional stuff for the LaTeX preamble.
#
# ; for more see: # for more see: http://sphinx-doc.org/config.html#confval-latex_elements
# [texinfo_documents]
#
# ; These defaults are set in conf.py
#
# source_start_file = (master_doc) ; 'Index'
# target_name = (t3shortname)
# title = (project)
# author = (t3author)
# dir_menu_entry = (project)
# description = (description) or 'This is project (project)'
# category = Miscellaneous
# [man_pages]
#
# ; These defaults are set in conf.py
#
# source_start_file = (master_doc) ; 'Index'
# name = (project)
# description = (description) or 'This is project (project)'
# authors = (t3author)
# manual_section = 1
# This is the project specific Settings.yml file.
# Place Sphinx specific build information here.
# Settings given here will replace the settings of 'conf.py'.
---
conf.py:
copyright: 2017
project: QFQ Extension
version: 0.17.0
release: 0.17.0
latex_documents:
- - Index
- qfq.tex
- QFQ Extension
- Carsten Rose
- manual
latex_elements:
papersize: a4paper
pointsize: 10pt
preamble: \usepackage{typo3}
intersphinx_mapping:
t3tsref:
- http://docs.typo3.org/typo3cms/TyposcriptReference/
- null
t3start:
- http://docs.typo3.org/typo3cms/GettingStartedTutorial/
- null
t3editors:
- http://docs.typo3.org/typo3cms/EditorsTutorial/
- null
...
......@@ -59,7 +59,7 @@ copyright = u'2017, Carsten Rose'
# The short X.Y version.
version = '0.17'
# The full version, including alpha/beta/rc tags.
release = '0.17.0'
release = '0.17.1'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
......
@echo off
echo.
echo.
echo Building single file HTML version in build/singlehtml ...
call make.bat singlehtml
echo.
echo.
echo Building HTML version in build/html ...
call make.bat html
echo.
echo.
echo Starting build/html/Index.html in browser ...
start build\html\Index.html
echo.
echo.
echo Finished.
pause
\ No newline at end of file
@ECHO OFF
REM Command file for Sphinx documentation
if "%SPHINXOPTS%" == "" (
set SPHINXOPTS=-c . -a -E -w ./_not_versioned/warnings.txt
)
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=/var/www/html/crose/qfq-jqw/typo3temp/tx_sphinx/sphinx-doc/bin/sphinx-build
)
set PAPER=a4
set BUILDDIR=build
set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% ..
set I18NSPHINXOPTS=%SPHINXOPTS% ..
if NOT "%PAPER%" == "" (
set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
set I18NSPHINXOPTS=-D latex_paper_size=%PAPER% %I18NSPHINXOPTS%
)