File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 27
27
@if [ ! -d " $( SOURCEDIR) " ]; then mkdir -p " $( SOURCEDIR) " ; fi
28
28
cp -RL source/* $(SOURCEDIR )
29
29
cd $(SOURCEDIR ) && find . -name README.md -execdir mv ' {}' index.md ' ;'
30
+ cd $(SOURCEDIR ) && find . -name README.rst -execdir mv ' {}' index.rst ' ;'
30
31
31
32
.PHONY : update
32
33
update :
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
cd .. && sphinx-multiversion docs/source docs/_build/dirhtml \
4
- --pre-build " find . -mindepth 2 -name README.md -execdir mv '{}' index.md ';'" \
4
+ --pre-build " bash -c \" ( find . -mindepth 2 -name README.md -execdir mv '{}' index.md ';'; find . -mindepth 2 -name README.rst -execdir mv '{}' index.rst ';') \" " \
5
5
--post-build ' ./docs/_utils/javadoc.sh'
You can’t perform that action at this time.
0 commit comments