scylladb / care-pet

Care Pet IoT ScyllaDB example
https://care-pet.docs.scylladb.com/
Apache License 2.0
47 stars 28 forks source link

New home page design #37

Closed lauranovich closed 2 years ago

lauranovich commented 2 years ago

FIXES https://github.com/scylladb/care-pet/issues/36

tzach commented 2 years ago

@lauranovich note the build failed with

/home/runner/work/care-pet/care-pet/docs/index.rst:90: WARNING: Content block expected for the "raw" directive; none found.
lauranovich commented 2 years ago

I saw the issue @tzach - it's fixed

tzach commented 2 years ago

Page looks good image

@dgarcia360 I want to avoid the usage of raw html in rst files. Is it a must? why do we need it? Can we move it to the theme index.html template?

dgarcia360 commented 2 years ago

The previous design index.rst file used raw:: html directive to work with grids.

We could wrap the current "raw:: html" directives into new custom directives (e.g. create one for grids) to avoid using raw html in rst files.

lauranovich commented 2 years ago

@tzach - ready to merge