[WIP] Added text to speech instructions #171
No reviewers
Labels
No labels
about page
bug
community page
documentation
donate page
duplicate
enhancement
feature page
good first issue
Google Season of Docs
help wanted
invalid
landing page
news page
question
support page
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: organicmaps/website#171
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "tts-instructions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Revives the TTS PR by improving upon it. The current solution that I managed to implement is not final and should be iterated before merging. The FAQ living in the main page is not ideal because it should be in the header bar and in its own page instead so it can be linked easily from the main app.
I know that this is a PR that stalled for too long and is important for many issues to be resolved in Organic Maps. Can you take a look so we can discuss/make the necessary improvements and merge it as soon as possible @biodranik ?
Closes #6
Closes #32
Closes #115
Html file in shortcodes doesn't look right. How it should be translated? Let's create a faq section first, and add it into the top menu.
I agree with you. The reason I went with html is because I kept getting weird errors with markdown that I couldn’t resolve and html was much easier to work with.
This makes a lot of sense. In that case, should I incorporate the work from #115 into this PR too? There is no need to duplicate all that work that was already done.
What kind of weird errors did you get with markdown?
Yes, you can incorporate changes from that pr. But we need a separate section, not a single FAQ page. See #6
I get this error when trying to call the screenshots function from markdown:
Error: Failed to build the site Error: Failed to render content of \\?\C:\Users\meenbeese\OneDrive\Documents\GitHub\organicmaps.github.io\content\_index.md Error: Reason: Failed to render tts_testing shortcode Error: Reason: Failed to render 'shortcodes/tts_testing.md' Error: Reason: Function 'screenshot' not found
And when I remove the function call to integrate them directly into md, they don't render at all.
I don't have any of these problems with HTML so I think I will use that for the PR.
You mean like adding it to the top bar, right? If so, I will start working on that now.

Do you have an idea of where it would be best to add it? Before the news, or after Github for example?
Never mind the previous errors as I figured out how to implement it using HTML. The only thing needed now is the taxonomy you mentioned previously in a linked issue so that every FAQ question has its own markdown file. Then, it will be easier to add several different FAQ titles, translate them and link them from the main app as necessary.
It would be great to preview it! Hint: provide a branch preview link instead of a commit link, it will be automatically updated after any changes.
Simple tables are supported in markdown syntax, check templates/shortcodes/crypto_table.md
ROM here and in other places.
It would be great to mention this list of other TTS engines. And even better, to port it here as a separate maintainable markdown table, like a crypto table.
https://docs.google.com/spreadsheets/d/1kZ6cKY_BcCkxmGtCioQi9Z0SvhcWBkf427DQCWSwIDs/edit#gid=0
Can images be referenced with markdown syntax?
@ -0,0 +54,4 @@
- Install the [eSpeak TTS engine](https://f-droid.org/en/packages/com.reecedunn.espeak) available on F-Droid
- Set it as the preferred system engine
Are these empty lines necessary?
@ -0,0 +54,4 @@
- Install the [eSpeak TTS engine](https://f-droid.org/en/packages/com.reecedunn.espeak) available on F-Droid
- Set it as the preferred system engine
No, not really. I have removed them.
I don't think so. Even though it can be done for primitive images, we need HTML to adjust the height and the width here.
Can't you adjust the height and width using CSS?
Done! Will be pushing to the branch.
I think this is a case where practicality beats purity. Using html makes more sense here.
Edit: Upon further research, I found that this is really difficult to do, if possible at all.
I agree, a preview would be nice. How can I do this?
@ -59,3 +38,2 @@
language = "English"
language-word = "Language"
more-info-om = "For more information please visit our web-site"
const_lang = "Language"
Is there a better way to name this?
@ -0,0 +28,4 @@
| | | |
| ----------- | ----------- | ----------- |
| <img src='/images/screenshots/tts_config_1.jpg' width='400' alt='Screenshot 1'> | <img src='/images/screenshots/tts_config_2.jpg' width='400' alt='Screenshot 2'> | <img src='/images/screenshots/tts_config_3.jpg' width='400' alt='Screenshot 3'> |
These alt tags are not useful at all. Please a more descriptive text.
Replaced with #212
Pull request closed