File tree Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 13
13
pdf_source_dir = os .path .abspath ('../../components/softdevice/s115/' ) # Path to the PDF source directory
14
14
pdf_destination_dir = os .path .join (source_dir , 'pdfs' ) # Destination directory within _static
15
15
images_dir = os .path .join (script_dir , "images" ) # Path to the images directory
16
+ softdevice_rst_source = os .path .abspath ('../../components/softdevice/s115/doc' )
16
17
17
18
# Install packages from requirements.txt
18
19
if os .path .exists (requirements_path ):
59
60
os .makedirs (dest_dir , exist_ok = True )
60
61
shutil .copy2 (os .path .join (root , file ), dest_dir )
61
62
63
+ # Copy SoftDevice RST files to the _build/source directory
64
+ for file_name in os .listdir (softdevice_rst_source ):
65
+ if file_name .endswith ('.rst' ):
66
+ src_file_path = os .path .join (softdevice_rst_source , file_name )
67
+ shutil .copy2 (src_file_path , source_dir )
68
+ print (f"Copied { file_name } to { source_dir } " )
69
+
62
70
# Copy the _static directory
63
71
dest_static_dir = os .path .join (source_dir , "_static" )
64
72
if os .path .exists (dest_static_dir ):
Original file line number Diff line number Diff line change @@ -40,3 +40,4 @@ The |BMlong| is a distinct repository that incorporates elements from the existi
40
40
samples.rst
41
41
app_dev/dfu/index.rst
42
42
release_notes.rst
43
+ s115_docs.rst
Original file line number Diff line number Diff line change
1
+ .. _s115_docs :
2
+
3
+ S115 SoftDevice release notes and migration notes
4
+ #################################################
5
+
6
+ See the following documentation for the details regarding new releases of the S115 SoftDevice.
7
+
8
+ .. toctree ::
9
+ :maxdepth: 2
10
+ :glob:
11
+ :caption: Subpages:
12
+
13
+ s115_9.0.0-3.prototype_release-notes.main.rst
14
+ s115_9.0.0-3.prototype_migration-document.main.rst
You can’t perform that action at this time.
0 commit comments