Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
fcd97d44
Kaydet (Commit)
fcd97d44
authored
7 years ago
tarafından
Ned Deily
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Include additional changes to support blurbified NEWS (#3340)
üst
e295b826
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
3 deletions
+18
-3
.travis.yml
.travis.yml
+1
-1
Makefile
Doc/Makefile
+16
-1
changelog.rst
Doc/whatsnew/changelog.rst
+1
-1
No files found.
.travis.yml
Dosyayı görüntüle @
fcd97d44
...
...
@@ -43,7 +43,7 @@ matrix:
-
cd Doc
# Sphinx is pinned so that new versions that introduce new warnings won't suddenly cause build failures.
# (Updating the version is fine as long as no warnings are raised by doing so.)
-
python -m pip install sphinx~=1.6.1
-
python -m pip install sphinx~=1.6.1
blurb
script
:
-
make check suspicious html SPHINXOPTS="-q -W -j4"
-
os
:
linux
...
...
This diff is collapsed.
Click to expand it.
Doc/Makefile
Dosyayı görüntüle @
fcd97d44
...
...
@@ -6,6 +6,7 @@
# You can set these variables from the command line.
PYTHON
=
python3
SPHINXBUILD
=
sphinx-build
BLURB
=
$(PYTHON)
-m
blurb
PAPER
=
SOURCES
=
DISTVERSION
=
$(
shell
$(PYTHON)
tools/extensions/patchlevel.py
)
...
...
@@ -38,6 +39,20 @@ help:
@
echo
" serve to serve the documentation on the localhost (8000)"
build
:
-
mkdir
-p
build
# Look first for a Misc/NEWS file (building from a source release tarball
# or old repo) and use that, otherwise look for a Misc/NEWS.d directory
# (building from a newer repo) and use blurb to generate the NEWS file.
@if
[
-f
../Misc/NEWS
]
;
then
\
echo
"Using existing Misc/NEWS file"
;
\
cp
../Misc/NEWS
build/NEWS;
\
elif
[
-d
../Misc/NEWS.d
];
then
\
echo
"Building NEWS from Misc/NEWS.d with blurb"
;
\
$(BLURB)
merge
-f
build/NEWS;
\
else
\
echo
"Neither Misc/NEWS.d nor Misc/NEWS found; cannot build docs"
;
\
exit
1;
\
fi
$(SPHINXBUILD)
$(ALLSPHINXOPTS)
@echo
...
...
@@ -107,7 +122,7 @@ clean:
venv
:
$(PYTHON)
-m
venv venv
./venv/bin/python3
-m
pip
install
-U
Sphinx
./venv/bin/python3
-m
pip
install
-U
Sphinx
blurb
dist
:
rm
-rf
dist
...
...
This diff is collapsed.
Click to expand it.
Doc/whatsnew/changelog.rst
Dosyayı görüntüle @
fcd97d44
...
...
@@ -4,4 +4,4 @@
Changelog
+++++++++
.. miscnews:: ../
../Misc
/NEWS
.. miscnews:: ../
build
/NEWS
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment