Article: - rename the deployment section to "Развёртывание через config/services.ini" - keep only first-level sections in the table of contents, drop the archive entry - add the warning block and the archive table in the series format - rename screenshots to meaningful English names Publishing helpers (docs/publish): - build_article_html.py builds the HTML fragment for the site editor with anchored headings, linked table of contents, captions and code blocks - code/ holds each code block as a separate file, description.txt the short description Code: - static/script.js: bump version to 0.3.0 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
string InstanceFolder()
| |
{
| |
string path = TerminalInfoString(TERMINAL_DATA_PATH);
| |
StringReplace(path, "\\", "/");
| |
| |
int len = StringLen(path);
| |
if(len > 0 && StringGetCharacter(path, len - 1) == '/')
| |
path = StringSubstr(path, 0, len - 1);
| |
| |
int pos = FindLast(path, "/");
| |
return (pos >= 0) ? StringSubstr(path, pos + 1) : path;
| |
}
|