File tree Expand file tree Collapse file tree 4 files changed +24
-9
lines changed
Expand file tree Collapse file tree 4 files changed +24
-9
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,20 @@ version: 2
66# Only compile HTML
77formats : []
88
9+ build :
10+ os : ' ubuntu-24.04'
11+ tools :
12+ python : ' 3.13'
13+
914python :
10- version : 3.8
1115 install :
1216 - requirements : docs/requirements_for_rtd.txt
1317 - method : pip
1418 path : .
15- # extra_requirements:
16- # - docs
19+ extra_requirements :
20+ - ' bz'
21+
22+ sphinx :
23+ configuration : ' docs/source/conf.py'
24+ builder : ' html'
25+ fail_on_warning : false
Original file line number Diff line number Diff line change 3333templates_path = ['_templates' ]
3434
3535# The suffix of source filenames.
36- source_suffix = '.rst'
36+ source_suffix = { '.rst' : 'restructuredtext' }
3737
3838# The encoding of source files.
3939# source_encoding = 'utf-8-sig'
6767#
6868# This is also used if you do content translation via gettext catalogs.
6969# Usually you set "language" from the command line for these cases.
70- language = None
70+ language = 'en'
7171
7272# There are two options for replacing |today|: either, you set today to some
7373# non-false value, then it is used:
Original file line number Diff line number Diff line change @@ -20,3 +20,9 @@ The HPKOT module
2020
2121.. automodule :: seekpath.hpkot.tools
2222 :members:
23+
24+
25+ Warnings
26+ --------
27+
28+ .. autoclass :: seekpath.SupercellWarning
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ def test_cubic(self):
110110 b1 = [1 , 0 , 0 ]
111111 b2 = [0 , 1 , 0 ]
112112 b3 = [0 , 0 , 1 ]
113- bz = brillouinzone .get_BZ (b1 = b1 , b2 = b2 , b3 = b3 )
113+ bz = brillouinzone .BZ (b1 = b1 , b2 = b2 , b3 = b3 )
114114
115115 expected_faces = [
116116 [
@@ -162,7 +162,7 @@ def test_cubic(self):
162162
163163 # The definition of triangles is not unique. I check directly the
164164 # faces (that should be obtained from the triangles
165- faces = bz [ ' faces' ]
165+ faces = bz . faces
166166
167167 # theFaces = [Face(f) for f in faces]
168168 # theExpectedFaces = [Face(f) for f in expected_faces]
@@ -177,7 +177,7 @@ def test_2(self):
177177 b1 = [1 , 0 , 0 ]
178178 b2 = [0 , 1 , 0 ]
179179 b3 = [0.2 , 0.2 , 1 ]
180- bz = brillouinzone .get_BZ (b1 = b1 , b2 = b2 , b3 = b3 )
180+ bz = brillouinzone .BZ (b1 = b1 , b2 = b2 , b3 = b3 )
181181
182182 expected_faces = [
183183 [
@@ -264,7 +264,7 @@ def test_2(self):
264264
265265 # The definition of triangles is not unique. I check directly the
266266 # faces (that should be obtained from the triangles
267- faces = bz [ ' faces' ]
267+ faces = bz . faces
268268
269269 # To print the actual output
270270 # print "["
You can’t perform that action at this time.
0 commit comments