docs
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
const fs = require('fs');
|
||||
const iconv = require('iconv-lite');
|
||||
|
||||
const typeMap = {
|
||||
string: 'std::string',
|
||||
@@ -46,5 +47,5 @@ exports.publish = (data, {destination, query}) => {
|
||||
|
||||
let result = `#include <string>\n\n` + graft(docs);
|
||||
//console.log(result)
|
||||
fs.promises.writeFile(destination, result, {encoding:'utf-8'});
|
||||
fs.promises.writeFile(destination, iconv.encode(result, 'win1251'), {encoding: 'binary'});
|
||||
};
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
<Inline template="General/Element Basic No Icon"/>
|
||||
|
||||
<!-- Stereotypes -->
|
||||
<HasValueChecker property="stereotypes">
|
||||
<!-- <HasValueChecker property="stereotypes">
|
||||
<Reference template="General/Stereotypes"/>
|
||||
</HasValueChecker>
|
||||
</HasValueChecker> -->
|
||||
|
||||
<!-- Tagged Values -->
|
||||
<HasValueChecker property="taggedValues">
|
||||
@@ -77,23 +77,22 @@
|
||||
</HasChildElementChecker>
|
||||
<!-- Enumeration Literals (Summary) -->
|
||||
<HasChildElementChecker modelType="EnumerationLiteral">
|
||||
<Text style="@heading+">Enumeration Literals Summary</Text>
|
||||
<Text style="@heading+">Допустими стойности</Text>
|
||||
<ParagraphBreak/>
|
||||
|
||||
<TableBlock colWidths="20, 80" tableStyle="Summaries">
|
||||
<TableRow>
|
||||
<TableCell>
|
||||
<Text>Name</Text>
|
||||
<Text>Име</Text>
|
||||
</TableCell>
|
||||
<TableCell>
|
||||
<Text>Description</Text>
|
||||
<Text>Описание</Text>
|
||||
</TableCell>
|
||||
</TableRow>
|
||||
|
||||
<IterationBlock modelType="EnumerationLiteral">
|
||||
<TableRow>
|
||||
<TableCell>
|
||||
<Icon/>
|
||||
<Property property="name"/>
|
||||
</TableCell>
|
||||
<TableCell>
|
||||
@@ -131,50 +130,6 @@
|
||||
</TableBlock>
|
||||
</HasChildElementChecker>
|
||||
|
||||
<!-- Enumeration Literals (Detail) -->
|
||||
<HasChildElementChecker modelType="EnumerationLiteral">
|
||||
<Text style="@heading+">Enumeration Literals</Text>
|
||||
<ParagraphBreak/>
|
||||
|
||||
<IterationBlock modelType="EnumerationLiteral">
|
||||
|
||||
<Inline template="Basic"/>
|
||||
|
||||
<TableBlock colWidths="20, 80" repeatTableHeader="false" tableStyle="Properties">
|
||||
<TableRow>
|
||||
<TableCell>
|
||||
<Text>Specification</Text>
|
||||
</TableCell>
|
||||
<TableCell>
|
||||
<ModelElementProperty property="specification">
|
||||
<Property property="value"/>
|
||||
</ModelElementProperty>
|
||||
</TableCell>
|
||||
</TableRow>
|
||||
<TableRow>
|
||||
<TableCell>
|
||||
<Text>Slots</Text>
|
||||
</TableCell>
|
||||
<TableCell>
|
||||
<ForEach property="slots">
|
||||
<Property property="feature"/>
|
||||
<Text> = </Text>
|
||||
|
||||
<ForEach ignoreLastSeparator="true" property="values">
|
||||
<Property property="value"/>
|
||||
<Text>, </Text>
|
||||
</ForEach>
|
||||
|
||||
<ParagraphBreak/>
|
||||
</ForEach>
|
||||
</TableCell>
|
||||
</TableRow>
|
||||
</TableBlock>
|
||||
|
||||
</IterationBlock>
|
||||
</HasChildElementChecker>
|
||||
|
||||
|
||||
<!-- Sub Diagrams & References -->
|
||||
<Reference template="General/Sub and Referenced Diagrams"/>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Server and Application Installation
|
||||
# ProNature Server and Application Installation
|
||||
## Services to install
|
||||
### [Mongo DB Community 8+ ](https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-ubuntu/)
|
||||
> sudo apt-get install gnupg curl
|
||||
@@ -28,8 +28,6 @@
|
||||
4. SPHINX. Install in **/opt/sphinx**. Create a service using config in sphinx.service. Copy to sphinx bin/ folder and configure FTS indexes in [**sphinx.conf**](./sphinx.conf) template. Make sure all paths are available. **/opt/sphinx** should be owned by the nonroot user.
|
||||
|
||||
## Tools to install
|
||||
1. NodeJS and NPM (currently Node v16, NPM v8)
|
||||
1. [Mongo DB tools](https://www.mongodb.com/try/download/database-tools?tck=docs_databasetools)
|
||||
1. Let's Encrypt CertBot, for certificates issuing and renewal. The certificate is installed using the following command: `certbot certonly -d your.server.name`. Use `--nginx` or `--apache` in order to have automatic renewal
|
||||
1. ffmpeg - for converting video and audio content
|
||||
1. ghostscript - for creating thumbnails for PDF files
|
||||
|
||||
Reference in New Issue
Block a user