Skip to content

Commit f68100d

Browse files
satya-bodapatifmbiete
authored andcommitted
Revert "PXB-3316 Remove doc folder to fix Snyk issues (8.0)"
This reverts commit b4a7208.
1 parent b468777 commit f68100d

238 files changed

Lines changed: 19864 additions & 1 deletion

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
## Percona XtraBackup
33

4-
![PXB logo](storage/innobase/xtrabackup/percona-xtrabackup-logo.jpg)
4+
![PXB logo](storage/innobase/xtrabackup/doc/source/percona-xtrabackup-logo.jpg)
55

66
Percona XtraBackup is an open-source hot backup utility for MySQL - based servers that doesn’t lock your database during the backup.
77

storage/innobase/xtrabackup/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ INSTALL_SCRIPT(${CMAKE_CURRENT_BINARY_DIR}/xbcloud_osenv
2424
)
2525

2626
ADD_SUBDIRECTORY(src)
27+
ADD_SUBDIRECTORY(doc/source)
2728

2829
IF(INSTALL_MYSQLTESTDIR)
2930
INSTALL(
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
build/
2+
source/ext/psdom.pyc
3+
source/percona-theme/
4+
COMMIT_MESSAGE
Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
# Makefile for Sphinx documentation
2+
#
3+
4+
# You can set these variables from the command line.
5+
SPHINXOPTS =
6+
SPHINXBUILD = sphinx-build
7+
PAPER =
8+
BUILDDIR = build
9+
10+
11+
# Internal variables.
12+
PAPEROPT_a4 = -D latex_paper_size=a4
13+
PAPEROPT_letter = -D latex_paper_size=letter
14+
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
15+
16+
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest
17+
18+
help:
19+
@echo "Please use \`make <target>' where <target> is one of"
20+
@echo " html to make standalone HTML files"
21+
@echo " dirhtml to make HTML files named index.html in directories"
22+
@echo " offhtml to make standalone HTML files without fetching the new theme files"
23+
@echo " singlehtml to make a single large HTML file"
24+
@echo " pickle to make pickle files"
25+
@echo " json to make JSON files"
26+
@echo " htmlhelp to make HTML files and a HTML help project"
27+
@echo " qthelp to make HTML files and a qthelp project"
28+
@echo " devhelp to make HTML files and a Devhelp project"
29+
@echo " epub to make an epub"
30+
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
31+
@echo " latexpdf to make LaTeX files and run them through pdflatex"
32+
@echo " text to make text files"
33+
@echo " man to make manual pages"
34+
@echo " changes to make an overview of all changed/added/deprecated items"
35+
@echo " linkcheck to check all external links for integrity"
36+
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
37+
38+
clean:
39+
-rm -rf $(BUILDDIR)/*
40+
41+
42+
43+
pickle:
44+
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
45+
@echo
46+
@echo "Build finished; now you can process the pickle files."
47+
48+
json:
49+
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
50+
@echo
51+
@echo "Build finished; now you can process the JSON files."
52+
53+
htmlhelp:
54+
$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
55+
@echo
56+
@echo "Build finished; now you can run HTML Help Workshop with the" \
57+
".hhp project file in $(BUILDDIR)/htmlhelp."
58+
59+
qthelp:
60+
$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
61+
@echo
62+
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
63+
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
64+
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/PerconaServer.qhcp"
65+
@echo "To view the help file:"
66+
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/PerconaServer.qhc"
67+
68+
devhelp:
69+
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
70+
@echo
71+
@echo "Build finished."
72+
@echo "To view the help file:"
73+
@echo "# mkdir -p $$HOME/.local/share/devhelp/PerconaServer"
74+
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/PerconaServer"
75+
@echo "# devhelp"
76+
77+
78+
text:
79+
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
80+
@echo
81+
@echo "Build finished. The text files are in $(BUILDDIR)/text."
82+
83+
man:
84+
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
85+
@echo
86+
@echo "Build finished. The manual pages are in $(BUILDDIR)/man."
87+
88+
changes:
89+
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
90+
@echo
91+
@echo "The overview file is in $(BUILDDIR)/changes."
92+
93+
linkcheck: ext
94+
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
95+
@echo
96+
@echo "Link check complete; look for any errors in the above output " \
97+
"or in $(BUILDDIR)/linkcheck/output.txt."
98+
99+
doctest:
100+
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
101+
@echo "Testing of doctests in the sources finished, look at the " \
102+
"results in $(BUILDDIR)/doctest/output.txt."
103+
6 KB
Binary file not shown.
Binary file not shown.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{#-
2+
This file was automatically generated - do not edit
3+
-#}
4+
{% extends "main.html" %}
5+
{% block content %}
6+
<h1>404 - Not found</h1>
7+
<p>
8+
We can't find the page you are looking for. Try using the Search or <a href= "{{ config.extra.homepage | d(nav.homepage.url, true) | url }}"> return to homepage </a>. </p>
9+
{% endblock %}
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{#
2+
MkDocs template for Netlify builds to customize docs layout
3+
by adding marketing-requested elements
4+
#}
5+
6+
{# Import the theme's layout. #}
7+
{% extends "base.html" %}
8+
9+
{%- macro relbar2 () %}
10+
<div class="md-relbar2__inner md-grid">
11+
<div class="md-content">
12+
<article class="md-content__inner md-typeset" role="main">
13+
<h4>Contact Us </h4>
14+
<p>For free technical help, visit the Percona <a class="reference external" href="https://forums.percona.com/c/mysql-mariadb/percona-xtrabackup/10?utm_campaign=Doc%20pages" target="_blank">Community Forum</a>.<br>
15+
<p>To report bugs or submit feature requests, open a <a class="reference external" href="https://jira.percona.com/projects/PXB/issues/" target="_blank">JIRA</a> ticket.<br>
16+
<p>For paid <a class="reference external" href="https://www.percona.com/services/support"> support </a> and <a class="reference external" href="https://www.percona.com/services/managed-services"> managed </a> or <a class="reference external" href="https://www.percona.com/services/consulting">consulting services </a>, contact <a class="reference external" href="https://www.percona.com/about-percona/contact" target="_blank">Percona Sales</a>.</p>
17+
</article>
18+
</div>
19+
</div>
20+
{%- endmacro %}
21+
22+
{% block content %}
23+
24+
<!-- Edit button -->
25+
{% if page.edit_url %}
26+
<a
27+
href="{{ page.edit_url }}"
28+
title="{{ lang.t('edit.link.title') }}"
29+
class="md-content__button md-icon"
30+
>
31+
{% include ".icons/material/pencil.svg" %}
32+
</a>
33+
{% endif %}
34+
35+
<!--
36+
Hack: check whether the content contains a h1 headline. If it
37+
doesn't, the page title (or respectively site name) is used
38+
as the main headline.
39+
-->
40+
{% if not "\x3ch1" in page.content %}
41+
<h1>{{ page.title | d(config.site_name, true)}}</h1>
42+
{% endif %}
43+
44+
<!-- Markdown content -->
45+
{{ page.content }}
46+
47+
{{ relbar2() }}
48+
49+
<!-- Last update of source file -->
50+
{% if page and page.meta %}
51+
{% if page.meta.git_revision_date_localized or
52+
page.meta.revision_date
53+
%}
54+
{% include "partials/source-file.html" %}
55+
{% endif %}
56+
{% endif %}
57+
{% endblock %}
58+
59+
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
{#-
2+
This file was automatically generated - do not edit
3+
-#}
4+
<header class="md-header" data-md-component="header">
5+
<nav class="md-header__inner md-grid" aria-label="{{ lang.t('header.title') }}">
6+
<a href="https://percona.com/software/documentation" class="md-header__button md-logo" aria-label="{{ config.site_name }}" data-md-component="logo">
7+
{% include "partials/logo.html" %}
8+
</a>
9+
<label class="md-header__button md-icon" for="__drawer">
10+
{% include ".icons/material/menu" ~ ".svg" %}
11+
</label>
12+
<div class="md-header__title" data-md-component="header-title">
13+
<div class="md-header__ellipsis">
14+
<div class="md-header__topic">
15+
<span class="md-ellipsis"><a href="https://www.percona.com/software/documentation">
16+
Percona Product Documentation
17+
</a></span>
18+
</div>
19+
<div class="md-header__topic" data-md-component="header-topic">
20+
<span class="md-ellipsis">
21+
{% if page and page.meta and page.meta.title %}
22+
{{ page.meta.title }}
23+
{% else %}
24+
{{ page.title }}
25+
{% endif %}
26+
</span>
27+
</div>
28+
</div>
29+
</div>
30+
{% if not config.theme.palette is mapping %}
31+
<form class="md-header__option" data-md-component="palette">
32+
{% for option in config.theme.palette %}
33+
{% set primary = option.primary | replace(" ", "-") | lower %}
34+
{% set accent = option.accent | replace(" ", "-") | lower %}
35+
<input class="md-option" data-md-color-media="{{ option.media }}" data-md-color-scheme="{{ option.scheme }}" data-md-color-primary="{{ primary }}" data-md-color-accent="{{ accent }}" type="radio" name="__palette" id="__palette_{{ loop.index }}">
36+
{% if option.toggle %}
37+
<label class="md-header__button md-icon" title="{{ option.toggle.name }}" for="__palette_{{ loop.index0 or loop.length }}" hidden>
38+
{% include ".icons/" ~ option.toggle.icon ~ ".svg" %}
39+
</label>
40+
{% endif %}
41+
{% endfor %}
42+
</form>
43+
{% endif %}
44+
{% if config.extra.alternate %}
45+
<div class="md-header__option">
46+
<div class="md-select">
47+
{% set icon = config.theme.icon.alternate or "material/translate" %}
48+
<button class="md-header__button md-icon">
49+
{% include ".icons/" ~ icon ~ ".svg" %}
50+
</button>
51+
<div class="md-select__inner">
52+
<ul class="md-select__list">
53+
{% for alt in config.extra.alternate %}
54+
<li class="md-select__item">
55+
<a href="{{ alt.link | url }}" hreflang="{{ alt.lang }}" class="md-select__link">
56+
{{ alt.name }}
57+
</a>
58+
</li>
59+
{% endfor %}
60+
</ul>
61+
</div>
62+
</div>
63+
</div>
64+
{% endif %}
65+
{% if "search" in config["plugins"] %}
66+
<label class="md-header__button md-icon" for="__search">
67+
{% include ".icons/material/magnify.svg" %}
68+
</label>
69+
{% include "partials/search.html" %}
70+
{% endif %}
71+
{% if config.repo_url %}
72+
<div class="md-header__source">
73+
{% include "partials/source.html" %}
74+
</div>
75+
{% endif %}
76+
</nav>
77+
</header>
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{#-
2+
This file was automatically generated - do not edit
3+
-#}
4+
{% set class = "md-nav md-nav--primary" %}
5+
{% if "navigation.tabs" in features %}
6+
{% set class = class ~ " md-nav--lifted" %}
7+
{% endif %}
8+
{% if "toc.integrate" in features %}
9+
{% set class = class ~ " md-nav--integrated" %}
10+
{% endif %}
11+
<nav class="{{ class }}" aria-label="{{ lang.t('nav.title') }}" data-md-level="0">
12+
<label class="md-nav__title" for="__drawer">
13+
<a href="{{ config.extra.homepage | d(nav.homepage.url, true) | url }}" title="{{ config.site_name | e }}" class="md-nav__button md-logo" aria-label="{{ config.site_name }}" data-md-component="logo">
14+
{% include "partials/logo.html" %}
15+
</a>
16+
{{ config.site_name }}
17+
</label>
18+
{% if config.repo_url %}
19+
<div class="md-nav__source">
20+
{% include "partials/source.html" %}
21+
</div>
22+
{% endif %}
23+
<ul class="md-nav__list" data-md-scrollfix>
24+
{% for nav_item in nav %}
25+
{% set path = "__nav_" ~ loop.index %}
26+
{% set level = 1 %}
27+
{% include "partials/nav-item.html" %}
28+
{% endfor %}
29+
<label class="md-nav__title" for="__drawer">
30+
<a href="https://learn.percona.com/download-percona-xtrabackup-8.0-manual" onclick="_gaq.push(['b._trackEvent', 'Percona XtraBackup', 'Download', 'Download Manual Percona XtraBackup']);" class="md-nav__link md-nav__link--active">
31+
Download PDF
32+
</a>
33+
</label>
34+
</ul>
35+
</nav>
36+

0 commit comments

Comments
 (0)