open-revolution / openrevolution

Open Revolution website, courses and wiki including diginomics (introduction to the digital economy)
https://openrevolution.net/
3 stars 0 forks source link

Get a list of all our existing lists of models #41

Closed rufuspollock closed 1 year ago

rufuspollock commented 1 year ago

List (and excerpt model summaries into this one post) all our existing lists of models.

TODO: extract notes from #36 (and meeting notes).

Acceptance

Post with

Post here: https://github.com/life-itself/diginomics/blob/main/content/notes/summary-past-work.md

Tasks

...

theo-cox commented 1 year ago

@rufuspollock post here: https://github.com/life-itself/diginomics/blob/main/content/notes/summary-past-work.md

Will let you review and tweak before closing the issue

rufuspollock commented 1 year ago

@theo-cox great. a few quick thoughts:

theo-cox commented 1 year ago

FIXED. Posted with above edits.

rufuspollock commented 1 year ago

@theo-cox 👏 one small thing is i don't see this as a post - https://diginomics.io/news isn't showing it. To have a blog post you just need to add type: Blog or moving to the news directory in content.

theo-cox commented 1 year ago

@rufuspollock that's odd because I have added type: blog?

rufuspollock commented 1 year ago

@theo-cox it's case sensitive i suspect. So is it blog or Blog?

theo-cox commented 1 year ago

@rufuspollock Latter. I directly copy/pasted from the bread making blog so it shouldn't be a formatting problem

rufuspollock commented 1 year ago

@theo-cox the reason it is not showing up is the site build failed. You can notice this by looking at the repo page:

image

If you click on X you get some info - though you have to login to cloudflare for that unfortunately.

Having logged in here is the error. This is cause by an issue with html tags somewhere (mdx is very sensitive to html tags sadly!)

00:21:51.552 | • "notes/summary-past-work.md": UnexpectedMDXError: Error: Build failed with 1 error:
-- | --
00:21:51.552 | _mdx_bundler_entry_point-e9b0f8d0-57f3-4d30-a9c1-5630cedfa244.mdx:29:3: ERROR: [plugin: @mdx-js/esbuild] Expected a closing tag for `</strong>` (29:4-29:8) before the end of `paragraph`

I've fixed the problem - see commit https://github.com/life-itself/diginomics/commit/dea72a45ba280d2a21065a452928693076b948a9#diff-9e8d38dca2eba65b9199ffa5b467ecfecff589d97b08228c6b0581fe919a9b38R28-R74

What's the issue and how do you fix in future

I think the issue is caused by having html tags where the closing tag is not on same line or same indent

So this works:

<td>some text ...</td>

<td>
  some text ...
</td>

But this does not work

</td>
rufuspollock commented 1 year ago

FIXED. See https://diginomics.io/notes/summary-past-work 👏🎉