Skip to content

Commit 9b0ef77

Browse files
committed
docs added.
1 parent 2c34e33 commit 9b0ef77

File tree

3 files changed

+11
-15
lines changed

3 files changed

+11
-15
lines changed

docs/_static/.gitkeep

Whitespace-only changes.

docs/conf.py

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
project = 'Laravel Migration Generator'
44
author = 'N3XT0R'
55
release = '8.0.0'
6-
76
version = release
87

98
extensions = [
@@ -16,18 +15,15 @@
1615

1716
master_doc = 'index'
1817
exclude_patterns = []
19-
html_theme = 'furo'
2018

21-
import os
22-
if os.environ.get('READTHEDOCS') == 'True':
23-
github_user = 'N3XT0R'
24-
github_repo = 'laravel-migration-generator'
25-
github_version = 'master'
19+
html_theme = 'furo'
20+
html_static_path = ['_static']
2621

27-
html_context = {
28-
'display_github': True,
29-
'github_user': github_user,
30-
'github_repo': github_repo,
31-
'github_version': github_version,
32-
'conf_py_path': '/docs/',
33-
}
22+
# GitHub integration (safe default)
23+
html_context = {
24+
'display_github': True,
25+
'github_user': 'N3XT0R',
26+
'github_repo': 'laravel-migration-generator',
27+
'github_version': 'master',
28+
'conf_py_path': '/docs/',
29+
}

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
sphinx
22
myst-parser
3-
furo
3+
furo

0 commit comments

Comments
 (0)