KaiSong-UK opened a new pull request, #175:
URL: https://github.com/apache/dolphinscheduler-sdk-python/pull/175

   Closes apache/dolphinscheduler#8233
   
   ## Description
   
   Add Google Translate widget to the Python API documentation (Sphinx RTD 
theme).
   
   Currently the Python API docs only have English version. This PR adds a 
Google Translate dropdown button at the bottom-left corner of the documentation 
pages, allowing users to translate English docs into their preferred language 
via machine translation.
   
   ## Changes
   
   - Added \docs/source/_templates/layout.html\ that extends the RTD theme's 
\layout.html\ and injects the Google Translate widget via the \extrabody\ block
   - The widget uses \google.translate.TranslateElement\ with 
\InlineLayout.SIMPLE\
   
   Reference implementation: https://www.commonwl.org/user_guide/


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to