(route)
| 942 | } |
| 943 | |
| 944 | function getCurrentMarkdownPath(route) { |
| 945 | var path = (route || '').replace(/^\/+/, ''); |
| 946 | |
| 947 | if (!path || path === 'README' || /\/README$/.test(path)) { |
| 948 | return ''; |
| 949 | } |
| 950 | |
| 951 | if (!/\.md$/i.test(path)) { |
| 952 | path += '.md'; |
| 953 | } |
| 954 | |
| 955 | return path; |
| 956 | } |
| 957 | |
| 958 | function isArticleIndexRoute(route) { |
| 959 | return ( |
no outgoing calls
no test coverage detected