Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd2ebc61

Browse files
committed
Moved all source files into the source folder, separating the build from the source directory
1 parent28a33ca commitd2ebc61

File tree

9 files changed

+28
-27
lines changed

9 files changed

+28
-27
lines changed

‎doc/.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
build/

‎doc/Makefile‎

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ PAPER =
99
# Internal variables.
1010
PAPEROPT_a4 = -D latex_paper_size=a4
1111
PAPEROPT_letter = -D latex_paper_size=letter
12-
ALLSPHINXOPTS = -d_build/doctrees$(PAPEROPT_$(PAPER))$(SPHINXOPTS).
12+
ALLSPHINXOPTS = -dbuild/doctrees$(PAPEROPT_$(PAPER))$(SPHINXOPTS)source
1313

1414
.PHONY: help clean html web pickle htmlhelp latex changes linkcheck
1515

@@ -24,52 +24,52 @@ help:
2424
@echo" linkcheck to check all external links for integrity"
2525

2626
clean:
27-
-rm -rf_build/*
27+
-rm -rfbuild/*
2828

2929
html:
30-
mkdir -p_build/html_build/doctrees
31-
$(SPHINXBUILD) -b html$(ALLSPHINXOPTS)_build/html
30+
mkdir -pbuild/htmlbuild/doctrees
31+
$(SPHINXBUILD) -b html$(ALLSPHINXOPTS)build/html
3232
@echo
33-
@echo"Build finished. The HTML pages are in_build/html."
33+
@echo"Build finished. The HTML pages are inbuild/html."
3434

3535
pickle:
36-
mkdir -p_build/pickle_build/doctrees
37-
$(SPHINXBUILD) -b pickle$(ALLSPHINXOPTS)_build/pickle
36+
mkdir -pbuild/picklebuild/doctrees
37+
$(SPHINXBUILD) -b pickle$(ALLSPHINXOPTS)build/pickle
3838
@echo
3939
@echo"Build finished; now you can process the pickle files."
4040

4141
web: pickle
4242

4343
json:
44-
mkdir -p_build/json_build/doctrees
45-
$(SPHINXBUILD) -b json$(ALLSPHINXOPTS)_build/json
44+
mkdir -pbuild/jsonbuild/doctrees
45+
$(SPHINXBUILD) -b json$(ALLSPHINXOPTS)build/json
4646
@echo
4747
@echo"Build finished; now you can process the JSON files."
4848

4949
htmlhelp:
50-
mkdir -p_build/htmlhelp_build/doctrees
51-
$(SPHINXBUILD) -b htmlhelp$(ALLSPHINXOPTS)_build/htmlhelp
50+
mkdir -pbuild/htmlhelpbuild/doctrees
51+
$(SPHINXBUILD) -b htmlhelp$(ALLSPHINXOPTS)build/htmlhelp
5252
@echo
5353
@echo"Build finished; now you can run HTML Help Workshop with the"\
54-
".hhp project file in_build/htmlhelp."
54+
".hhp project file inbuild/htmlhelp."
5555

5656
latex:
57-
mkdir -p_build/latex_build/doctrees
58-
$(SPHINXBUILD) -b latex$(ALLSPHINXOPTS)_build/latex
57+
mkdir -pbuild/latexbuild/doctrees
58+
$(SPHINXBUILD) -b latex$(ALLSPHINXOPTS)build/latex
5959
@echo
60-
@echo"Build finished; the LaTeX files are in_build/latex."
60+
@echo"Build finished; the LaTeX files are inbuild/latex."
6161
@echo"Run\`make all-pdf' or\`make all-ps' in that directory to"\
6262
"run these through (pdf)latex."
6363

6464
changes:
65-
mkdir -p_build/changes_build/doctrees
66-
$(SPHINXBUILD) -b changes$(ALLSPHINXOPTS)_build/changes
65+
mkdir -pbuild/changesbuild/doctrees
66+
$(SPHINXBUILD) -b changes$(ALLSPHINXOPTS)build/changes
6767
@echo
68-
@echo"The overview file is in_build/changes."
68+
@echo"The overview file is inbuild/changes."
6969

7070
linkcheck:
71-
mkdir -p_build/linkcheck_build/doctrees
72-
$(SPHINXBUILD) -b linkcheck$(ALLSPHINXOPTS)_build/linkcheck
71+
mkdir -pbuild/linkcheckbuild/doctrees
72+
$(SPHINXBUILD) -b linkcheck$(ALLSPHINXOPTS)build/linkcheck
7373
@echo
7474
@echo"Link check complete; look for any errors in the above output"\
75-
"or in_build/linkcheck/output.txt."
75+
"or inbuild/linkcheck/output.txt."

doc/conf.py renamed to doc/source/conf.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# is relative to the documentation root, use os.path.abspath to make it
2121
# absolute, like shown here.
2222
#sys.path.append(os.path.abspath('.'))
23-
sys.path.insert(0,os.path.abspath('../lib'))
23+
sys.path.insert(0,os.path.abspath('../../lib'))
2424

2525
# General configuration
2626
# ---------------------
@@ -30,7 +30,7 @@
3030
extensions= ['sphinx.ext.autodoc','sphinx.ext.doctest']
3131

3232
# Add any paths that contain templates here, relative to this directory.
33-
templates_path= ['templates']
33+
templates_path= ['.templates']
3434

3535
# The suffix of source filenames.
3636
source_suffix='.rst'
@@ -69,7 +69,7 @@
6969

7070
# List of directories, relative to source directory, that shouldn't be searched
7171
# for source files.
72-
exclude_trees= ['_build']
72+
exclude_trees= ['build']
7373

7474
# The reST default role (used for this markup: `text`) to use for all documents.
7575
#default_role = None
@@ -120,7 +120,7 @@
120120
# Add any paths that contain custom static files (such as style sheets) here,
121121
# relative to this directory. They are copied after the builtin static files,
122122
# so a file named "default.css" will overwrite the builtin "default.css".
123-
html_static_path= ['static']
123+
html_static_path= ['.static']
124124

125125
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
126126
# using the given strftime format.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Whats New in 0.3
44
################
55
GitPython 0.3 is the first step in creating a hybrid which uses a pure python implementations for all simple git features which can be implemented without significant performance penalties. Everything else is still performed using the git command, which is nicely integrated and easy to use.
66

7-
Its biggest strength, being the support for all git features through the git command itself, is a weakness as well considering the possibly vast amount of times the git command is being started up. Depending on the actual command beingperformaned, the git repository will be initialized on many of these invocations, causing additional overhead for possibly tiny operations.
7+
Its biggest strength, being the support for all git features through the git command itself, is a weakness as well considering the possibly vast amount of times the git command is being started up. Depending on the actual command beingperformed, the git repository will be initialized on many of these invocations, causing additional overhead for possibly tiny operations.
88

99
Keeping as many major operations in the python world will result in improved caching benefits as certain data structures just have to be initialized once and can be reused multiple times. This mode of operation may improve performance when altering the git database on a low level, and is clearly beneficial on operating systems where command invocations are very slow.
1010

@@ -33,7 +33,7 @@ GitPython 0.2 essentially behaves like GitPython 0.3 with a Repository using the
3333
Why you should not upgrade
3434
**************************
3535
GitPython 0.3 in most cases will not run faster than GitPython 0.2, the opposite might be the case at it uses the pure python implementation by default.
36-
There have been a few renames which will need additional adjustmentsby your code.
36+
There have been a few renames which will need additional adjustmentsin your code.
3737

3838
Generally, if you only read git repositories, version 0.2 is sufficient and very well performing.
3939

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2026 Movatter.jp