Skip to content

Commit b58df65

Browse files
author
roger.yu
committed
Add project description HTML and external CSS for documentation page
1 parent ff2409d commit b58df65

File tree

2 files changed

+64
-0
lines changed

2 files changed

+64
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
body {
2+
font-family: Arial, sans-serif;
3+
margin: 2em;
4+
background: #f9f9f9;
5+
color: #222;
6+
}
7+
h1 {
8+
color: #0366d6;
9+
}
10+
code {
11+
background: #eee;
12+
padding: 2px 4px;
13+
border-radius: 3px;
14+
}
15+
.section {
16+
margin-bottom: 2em;
17+
}
18+
footer hr {
19+
margin-top: 2em;
20+
margin-bottom: 1em;
21+
}

github_backup/docs/idex.html

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>python-github-backup</title>
7+
<link rel="stylesheet" href="assets/css/style.css">
8+
</head>
9+
<body>
10+
<h1>python-github-backup</h1>
11+
<div class="section">
12+
<p><strong>python-github-backup</strong> is a command-line tool to backup your entire GitHub account, including repositories, issues, pull requests, releases, wikis, gists, and more. It is designed for disaster recovery, migration, and archiving purposes.</p>
13+
</div>
14+
<div class="section">
15+
<h2>Features</h2>
16+
<ul>
17+
<li>Backup all repositories (including private, forks, and gists)</li>
18+
<li>Backup issues, pull requests, releases, labels, milestones, and hooks</li>
19+
<li>Backup repository wikis and GitHub Pages content (gh-pages branch)</li>
20+
<li>Incremental and full backup modes</li>
21+
<li>Support for personal, organization, and GitHub Enterprise accounts</li>
22+
<li>Flexible authentication (token, OAuth, username/password, keychain)</li>
23+
<li>JSON output for metadata and configuration</li>
24+
</ul>
25+
</div>
26+
<div class="section">
27+
<h2>Usage Example</h2>
28+
<pre><code>github-backup &lt;username&gt; --token &lt;your_token&gt; --repositories --issues --pulls --releases --wikis --gists --output-directory ./backup</code></pre>
29+
<p>See the <code>README.rst</code> for full usage instructions and options.</p>
30+
</div>
31+
<div class="section">
32+
<h2>Project Links</h2>
33+
<ul>
34+
<li><a href="../..">Source Code</a></li>
35+
<li><a href="../../README.rst">README</a></li>
36+
</ul>
37+
</div>
38+
<footer>
39+
<hr>
40+
<p>&copy; 2025 AvePoint. Project: python-github-backup</p>
41+
</footer>
42+
</body>
43+
</html>

0 commit comments

Comments
 (0)