Update README.md
This commit is contained in:
parent
903ea5ffb0
commit
872a5cb99d
@ -36,9 +36,16 @@ mdbook init ~/zsh-mdbook
|
||||
cd ~/zsh-mdbook/src
|
||||
rm *.md
|
||||
|
||||
# Ensure DocToc is installed
|
||||
sudo npm -g install doctoc
|
||||
|
||||
# Return to repository clone and run the make-mdbook script
|
||||
./make-mdbook.sh
|
||||
|
||||
# Copy items to mdbook src
|
||||
cp -rf ~/zsh_doc_tmp/mdbook_src/* ~/zsh-mdbook/src/
|
||||
|
||||
# Serve the mdBook locally at http://localhost:3000
|
||||
cd ~/zsh-mdbook
|
||||
mdbook serve
|
||||
```
|
||||
|
@ -7,12 +7,6 @@ from bs4 import BeautifulSoup
|
||||
def hasInteger(input):
|
||||
return bool(re.search(r"(?<![\d.])[0-9]+(?![\d.])", input))
|
||||
|
||||
|
||||
# Check if input contains float substring
|
||||
def hasFloat(input):
|
||||
return bool(re.findall(r"\d+\.\d+", input))
|
||||
|
||||
|
||||
# Generate SUMMARY.md from table of contents
|
||||
page = requests.get("http://zsh.sourceforge.net/Doc/Release/zsh_toc.html")
|
||||
soup = BeautifulSoup(page.content, "html.parser")
|
||||
|
Loading…
Reference in New Issue
Block a user