### Renamed files map to ensure continuity of file history
## Map of new_name: old_name
renames_map = {
- 'application.tely': 'user/lilypond-program.tely',
+ 'usage.tely': 'user/lilypond-program.tely',
'notation.tely': 'user/lilypond.tely',
'learning.tely': 'user/lilypond-learning.tely',
'changes.tely': 'topdocs/NEWS.tely',
# FIXME: Hardcoded file names!?
manuals_subdirectories_re = \
- re.compile ('(application|automated-engraving|essay|general|learning|notation)/')
+ re.compile ('(usage|automated-engraving|essay|extending|general|learning|notation)/')
def add_old_name (file_path):
for new_path in renames_map:
references_dict = {
'notation': 'ruser',
'learning': 'rlearning',
- 'application': 'rprogram',
+ 'usage': 'rprogram',
'essay': 'ressay',
+ 'extending': 'rextend',
'snippets': 'rlsr',
'music-glossary': 'rglos',
'internals': 'rinternals',