Open pdpinch opened 2 years ago
@pdpinch, I did some RnD and for my local setup ocw-to-hugo successfully parsed the projects page.
It could be that I am missing something
Can you compare the output of ocw-to-hugo that you got with the contents of https://github.mit.edu/mitocwcontent/6.001-spring-2005/blob/main/content/pages/projects.md which is empty?
We may need to import this course again, or at least import this page.
Can you compare the output of ocw-to-hugo that you go with the contents of https://github.mit.edu/mitocwcontent/6.001-spring-2005/blob/main/content/pages/projects.md which is empty?
We may need to import this course again, or at least import this page.
For me the project.md is populated with the markdown I can share a screenshot if needed.
Please consult with @gumaerc or @mbertrand about how to to
If there's no way to import only one page, it may be easier to just create the page through the web ui and paste in the content.
@Wassaf-Shahzad Is it the same issue here? https://ocwnext-rc.odl.mit.edu/courses/15-071-the-analytics-edge-spring-2017/pages/an-introduction-to-analytics/working-with-data-an-introduction-to-r/ This course has several other blank pages too
The page content is present in the ocw-to-hugo-output-production
S3 bucket for the following pages:
6-001-structure-and-interpretation-of-computer-programs-spring-2005/content/pages/projects.md
15-071-the-analytics-edge-spring-2017/content/pages/an-introduction-to-analytics/working-with-data-an-introduction-to-r.md
So the problem seems to be with importing these pages into ocw-studio. Once the cause is fixed, maybe one way to reimport these back into ocw-studio is to delete these particular WebsiteContent
pages in django admin or shell and then run manage.py overwrite_ocw_content --create-new --bucket <rc or prod bucket> --filter 6-001-structure-and-interpretation-of-computer-programs-spring-2005,15-071-the-analytics-edge-spring-2017
(but only on RC at first).
I ended up copying and pasting the page content.
For some reason the SCM files didn't come over. I'll close this when I've tracked them down.
Super simple page
legacy: https://old.ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-001-structure-and-interpretation-of-computer-programs-spring-2005/projects/ nextgen: https://ocw.mit.edu/courses/6-001-structure-and-interpretation-of-computer-programs-spring-2005/pages/projects/ github: https://github.mit.edu/mitocwcontent/6.001-spring-2005/blob/main/content/pages/projects.md
Related Issues