This folder contains the source files for http://simplehtmldom.sourceforge.net/,
the project page for PHP Simple HTML DOM Parser.
Source files are written in Markdown: https://en.wikipedia.org/wiki/Markdown
Site data is generated by MkDocs, a lightweight static site generator for project
documentation: https://www.mkdocs.org/
# Folder structure
`custom_theme` : Contains customizations to the theme provided by MkDocs.
`docs` : Contains the source files for the project page (the actual pages).
`site` : Contains the output files for the project page when build with MkDocs.
`extra.css` : Customizations to the styles provided by MkDocs.
`mkdocs.yml` : The configuration file that is used by MkDocs to generate pages.
# Adding new pages
Place new files in `source`. Use subfolders (as few levels as possible) to
separate categories.
Files added to the manual will **not** appear on the project page automatically.
All pages need to be specified in the _mkdocs.yml_ file under "nav:". Simply add
the relative path to the new file where appropriate.
Note: Files are not added automatically because they are sorted by name if not
specified manually. Since readability is key factor for manuals, the files must
be sorted in a way that makes it clear to users.
# Setting up MkDocs
The installation instructions for MkDocs are provided on their homepage:
https://www.mkdocs.org/#installation
MkDocs automatically builds the project based on the _mkdocs.yml_ file. Find the
specification for this file at https://www.mkdocs.org/user-guide/configuration/.
# Building project pages
The build process depends on your installation of MkDocs. Typically MkDocs is
made available via the command line.
## Step 1 - Check your version of MkDocs
To check your version of MkDocs run this command:
`mkdocs --version` or
`python3 -m mkdocs --version`
Should return `version 1.0.4` or higher. If it doesn't make sure to install the
latest version using `pip install mkdocs` or `python3 -m pip install mkdocs`. If
you don't have pip installed, install it via package manager or follow the
instructions at https://pip.pypa.io/en/stable/installing/
## Step 2 - View the project locally
MkDocs allows you to view the project files in a browser on your local machine:
`mkdocs serve` or
`python3 -m mkdocs serve`
If the process is successful you can access the site at http://127.0.0.1:8000.
## Step 3 - Build the project
If you are satisfied with the results of the project, build the final project
with this command:
`mkdocs build` or
`python3 -m mkdocs build`
Find the output files in the `site` folder.
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
小说txt文件生成器php程序源码_已全部开源.zip (143个子文件)
json.bat 26B
json.bat 26B
extra.css 106B
.gitignore 38B
.gitkeep 0B
404.html 4KB
readme.html 3KB
readme.html 3KB
main.html 275B
LICENSE 1KB
CHANGELOG.md 11KB
definitions.md 4KB
api.md 3KB
adding-nodes.md 3KB
find.md 3KB
quick-start.md 3KB
README.md 3KB
finding-html-elements.md 3KB
simple_html_dom.md 2KB
faq.md 2KB
file_get_html.md 2KB
accessing-element-attributes.md 1KB
__construct.md 1KB
index.md 1KB
traversing-dom-tree.md 1KB
str_get_html.md 1KB
__get.md 879B
load.md 860B
simple_html_dom_node.md 805B
removeChild.md 708B
__isset.md 651B
constants.md 644B
requirements.md 642B
remove_noise.md 636B
creating-dom-objects.md 615B
removeClass.md 608B
seek.md 583B
__get.md 559B
prepare.md 557B
__set.md 542B
parse_charset.md 506B
remove.md 506B
match.md 465B
addClass.md 455B
parse_attr.md 445B
find.md 438B
convert_text.md 418B
restore_noise.md 416B
copy_until.md 415B
customizing-parsing-behavior.md 398B
parent.md 381B
copy_until_char.md 376B
copy_skip.md 367B
set_callback.md 350B
getElementsByTagName.md 345B
__construct.md 342B
save.md 341B
getElementsByTagName.md 339B
getElementsById.md 334B
dump.md 330B
link_nodes.md 329B
saving-dom-objects.md 324B
childNodes.md 323B
getElementsById.md 318B
skip.md 316B
appendChild.md 298B
search_noise.md 297B
parse_selector.md 295B
dump.md 292B
dump_node.md 292B
hasClass.md 281B
find_ancestor_tag.md 274B
getElementByTagName.md 265B
createElement.md 261B
save.md 259B
setAttribute.md 254B
children.md 249B
getElementById.md 241B
removeAttribute.md 233B
hasAttribute.md 229B
get_display_size.md 228B
as_text_node.md 217B
getElementByTagName.md 212B
childNodes.md 209B
read_tag.md 208B
is_utf8.md 206B
load_file.md 205B
getElementById.md 196B
getAttribute.md 193B
prev_sibling.md 156B
next_sibling.md 147B
first_child.md 146B
outertext.md 143B
last_child.md 143B
innertext.md 140B
clear.md 137B
parse.md 135B
xmltext.md 133B
__unset.md 123B
createTextNode.md 121B
共 143 条
- 1
- 2
资源评论
小徐博客
- 粉丝: 1968
- 资源: 1622
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功