oatpp / website

oatpp.io public website
https://oatpp.io/
Apache License 2.0
13 stars 24 forks source link

Vuepress build error: Missing module '../api/latest/index.json' #13

Closed thommyho closed 2 years ago

thommyho commented 2 years ago

Hi there, I really like your documentation and wanted to compile it from the git repository. I ran following commands:

Can you please tell me, what I am missing or did wrong? Thank you very much in advance.

Greetings, Thomas

lganzzzo commented 2 years ago

Hello @thommyho ,

You did everything correctly. The ../api/latest/index.json is generated from the code (from annotations to functions). The tool which does that is not yet open-sourced (it needs a good refactoring first) So you can't generate it on your own yet.

What you can do - is to take already generated index.json and use it. I'll send it to you by email

lganzzzo commented 2 years ago

Actually, I better put it here: index.json.zip oatpp-1.2.5

thommyho commented 2 years ago

Hi @lganzzzo , thanks for the fast reply. The tool which does that is not yet open-sourced (it needs a good refactoring first) So you can't generate it on your own yet. The index.json is good enough for me. Thank you very much. Greetings, Thomas