资源简介
php模版替换,使用phpoffice/phpword,要求php5.6以上。
代码片段和文件信息
# -*- coding: utf-8 -*-
#
# PhpWord documentation build configuration file created by
# sphinx-quickstart on Fri Mar 14 23:09:26 2014.
#
# This file is execfile()d with the current directory set to its containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# All configuration values have a default; values that are commented out
# serve to show the default.
import sys os
# If extensions (or modules to document with autodoc) are in another directory
# 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.
#sys.path.insert(0 os.path.abspath(‘.‘))
# -- General configuration -----------------------------------------------------
# If your documentation needs a minimal Sphinx version state it here.
#needs_sphinx = ‘1.0‘
# Add any Sphinx extension module names here as strings. They can be extensions
# coming with Sphinx (named ‘sphinx.ext.*‘) or your custom ones.
extensions = []
# Add any paths that contain templates here relative to this directory.
templates_path = [‘_templates‘]
# The suffix of source filenames.
source_suffix = ‘.rst‘
# The encoding of source files.
#source_encoding = ‘utf-8-sig‘
# The master toctree document.
master_doc = ‘index‘
# General information about the project.
project = u‘PHPWord‘
copyright = u‘2014-2015 PHPWord Contributors‘
# The version info for the project you‘re documenting acts as replacement for
# |version| and |release| also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = ‘0.13.0‘
# The full version including alpha/beta/rc tags.
release = version
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#language = None
# There are two options for replacing |today|: either you set today to some
# non-false value then it is used:
#today = ‘‘
# Else today_fmt is used as the format for a strftime call.
#today_fmt = ‘%B %d %Y‘
# List of patterns relative to source directory that match files and
# directories to ignore when looking for source files.
exclude_patterns = [‘_build‘]
# The reST default role (used for this markup: ‘text‘) to use for all documents.
#default_role = None
# If true ‘()‘ will be appended to :func: etc. cross-reference text.
#add_function_parentheses = True
# If true the current module name will be prepended to all description
# unit titles (such as .. function::).
#add_module_names = True
# If true sectionauthor and moduleauthor directives will be shown in the
# output. They are ignored by default.
#show_authors = False
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = ‘sphinx‘
# A list of ignored prefixes for module index sorting.
#modindex_common_prefix = []
# -- Options for HTML output ---------------------------------------------------
# The theme to use for HTML a
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-06-08 11:40 PHPOffice\
文件 209 2016-07-31 16:53 PHPOffice\.gitignore
文件 634 2016-07-31 16:53 PHPOffice\.scrutinizer.yml
文件 1383 2016-07-31 16:53 PHPOffice\.travis.yml
文件 1183 2016-07-31 16:53 PHPOffice\.travis_shell_after_success.sh
文件 25851 2016-07-31 16:53 PHPOffice\CHANGELOG.md
文件 2411 2016-07-31 16:53 PHPOffice\CONTRIBUTING.md
文件 35147 2016-07-31 16:53 PHPOffice\COPYING
文件 7651 2016-07-31 16:53 PHPOffice\COPYING.LESSER
文件 688 2016-07-31 16:53 PHPOffice\LICENSE
文件 8606 2016-07-31 16:53 PHPOffice\README.md
文件 6 2016-07-31 16:53 PHPOffice\VERSION
文件 1123 2016-07-31 16:53 PHPOffice\bootstrap.php
文件 38851 2018-06-01 19:41 PHPOffice\c.php
文件 2170 2016-07-31 16:53 PHPOffice\composer.json
文件 147940 2018-06-01 11:52 PHPOffice\composer.lock
目录 0 2018-06-01 11:35 PHPOffice\docs\
文件 5568 2016-07-31 16:53 PHPOffice\docs\Makefile
文件 9156 2016-07-31 16:53 PHPOffice\docs\conf.py
文件 3207 2016-07-31 16:53 PHPOffice\docs\containers.rst
文件 30 2016-07-31 16:53 PHPOffice\docs\credits.rst
文件 13828 2016-07-31 16:53 PHPOffice\docs\elements.rst
文件 1050 2016-07-31 16:53 PHPOffice\docs\faq.rst
文件 6596 2016-07-31 16:53 PHPOffice\docs\general.rst
目录 0 2018-06-01 11:35 PHPOffice\docs\images\
文件 4965 2016-07-31 16:53 PHPOffice\docs\images\phpword.png
文件 2987 2016-07-31 16:53 PHPOffice\docs\images\phpword.svg
文件 938 2016-07-31 16:53 PHPOffice\docs\index.rst
文件 1690 2016-07-31 16:53 PHPOffice\docs\installing.rst
文件 13840 2016-07-31 16:53 PHPOffice\docs\intro.rst
文件 3361 2016-07-31 16:53 PHPOffice\docs\recipes.rst
............此处省略12413个文件信息
- 上一篇:PHP程序开发参考手册光盘源码
- 下一篇:旅游分享平台php源码及说明文档 非常详细
评论
共有 条评论