summaryrefslogtreecommitdiffhomepage
path: root/zh-tw/pythonlegacy-tw.html.markdown
Commit message (Collapse)AuthorAgeLines
* Change 'filename:' for Python 2 (legacy)Simon Shine2020-02-12-1/+1
| | | | | | | | | | | | | | | | Before renaming, all Python 2 filenames were 'learnpython-*.py'. This commit renames them to 'learnpythonlegacy-*.py'. To verify that the filenames were named consistently across translations prior to this commit, and to change this: ``` find . -name "pythonlegacy*.markdown" -exec ack filename: {} \; find . -name "pythonlegacy*.markdown" -exec \ sed -i 's/^filename: learnpython/filename: learnpythonlegacy/' {} \; ```
* Python 2 'language': Python 2 (legacy)Simon Shine2020-02-12-1/+1
| | | | | | | | | | | Instead of listing 'language: python' for Python 2, use language: Python 2 (legacy) ``` find . -iname "*pythonlegacy*" -exec \ sed -i 's/^language: .*/language: Python 2 (legacy)/' {} \; ```
* Switch links: 'python3 <-> python' and 'python <-> pythonlegacy'Simon Shine2020-02-12-1/+1
| | | | The list of references is exhausted by running 'ack docs/python'.
* Rename Python 2 markdown files into 'pythonlegacy'Simon Shine2020-02-12-0/+727
``` for f in $(find . -iname "*python*" | grep -vE 'python3|git|statcomp'); do flegacy=$(echo "$f" | sed 's/python/pythonlegacy/') git mv "$f" "$flegacy" done ```