cyberaide / bookmanager-service

Other
0 stars 2 forks source link

i do not understand how to integrate new books #25

Open laszewsk opened 4 years ago

laszewsk commented 4 years ago

self.prepare_url(url, params) File "/usr/local/lib/python3.8/site-packages/requests/models.py", line 387, in prepare_url raise MissingSchema(error) requests.exceptions.MissingSchema: Invalid URL '{file.community}/sp20-516-240/master/chapter/ai-google.md': No schema supplied. Perhaps you meant http://{file.community}/sp20-516-240/master/chapter/ai-google.md?

nchaudh03 commented 4 years ago

It is breaking because the YAML structure of the file is different from the other books. In the other books, all links were referenced under the github section. Refer to books https://github.com/cyberaide/bookmanager-service/blob/master/books/big-data-applications.yaml and see how the structure is different.

laszewsk commented 4 years ago

great i fixed the structure and i can now create the book