Giter VIP home page Giter VIP logo

Comments (7)

rishabkumar7 avatar rishabkumar7 commented on May 22, 2024

The action we currently have, that generates the Contributors.md, doen't provide valid md to be rendered by docusaurus.
Getting this error:

SyntaxError: E:\GitHub\learn-to-cloud\src\pages\Contributors.md: JSX value should be either an expression or a quoted JSX text. (13:21)
  11 |     <td align="center" style="word-wrap: break-word; width: 150.0; height: 150.0">
  12 |         <a href="https://github.com/madebygps">
> 13 |             <img src=https://avatars.githubusercontent.com/u/6733686?v=4 width="100;"  style="border-radius:50%;align-items:center;justify-content:center;overflow:hidden;padding-top:10px" alt=Gwyneth Peña-Siguenza/>
     |                      ^
  14 |             <br />
  15 |             <sub style="font-size:14px"><b>Gwyneth Peña-Siguenza</b></sub>
  16 |         </a>

from learn-to-cloud.

rishabkumar7 avatar rishabkumar7 commented on May 22, 2024

Looking into this - https://github.com/marketplace/actions/contribute-list

from learn-to-cloud.

madebygps avatar madebygps commented on May 22, 2024

I think this can be closed?

from learn-to-cloud.

rishabkumar7 avatar rishabkumar7 commented on May 22, 2024

Contributors.md is not being generated, will take a look at the action

from learn-to-cloud.

rishabkumar7 avatar rishabkumar7 commented on May 22, 2024

Using both the new and the old action causes the docusaurus render to fail, since new action needs a comment in the Contributors.md file to add automated contributors, these comment don't render:

SyntaxError: /Users/rishabkumar/GitHub/learn-to-cloud/src/pages/Contributors.md: Unexpected token (206:1)
  204 |     </td></tr>
  205 | </table>
> 206 | <!-- readme: contributors -end -->
      |  ^
  207 |     </MDXLayout>
  208 |   )
  209 | };

from learn-to-cloud.

rishabkumar7 avatar rishabkumar7 commented on May 22, 2024

I am going to move Contributors.md back to root while we figure this out as it is causing the staging preview to fail

from learn-to-cloud.

rishabkumar7 avatar rishabkumar7 commented on May 22, 2024

Added another job to the contributor action to generate and SVG, which now renders in the docusaurus page 😅
The SVG is created by the action and can be found here static/img/CONTRIBUTORS.svg

from learn-to-cloud.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.