Comments (18)
I'll move it.
I see it should be here right?
https://github.com/CityScope/cityscope.github.io/tree/new_docsite/docsite/docs/modules/cityio
is there anything I neeed to do other than this, it looks like there is some front-matter format?
---
id:cityio
---
from cityscope.github.io.
Yes, there's a minor flag to let the framework know how to name the article.
I think that based on https://cityscope.media.mit.edu/docs/general/CityScopeJS%20Ecosystem diagram, cityIO should have its own place as https://github.com/CityScope/cityscope.github.io/tree/new_docsite/docsite/docs/**BACKEND**/cityio, since it's agnostic to modules or frontend.
from cityscope.github.io.
@yasushisakai the action should also take care if that. Let me know where your md
file lives and I'll point the action to that location and you won't have to worry about it anymore.
from cityscope.github.io.
ok, so if
- I have the md files living inside the cityio repo (accessible via
raw.githubusercontent
), @crisjf 's actions can automatically populate that to this repo?
or - I should still put it
this/repo/docsite/docs/backend/cityio
? and manually put the front-matter
I don't have strong opinions where to put it, just want one place to edit.
from cityscope.github.io.
The action does 1, and it also adds front-matter. It updated every day at midnight so any edits that you do to your master md
file with documentation will be automatically synced here. Where is the file right now?
from cityscope.github.io.
currently have it on the wiki, but will move it inside the cityio repo then... I will let you know when I'm done
from cityscope.github.io.
We can also pull it from the wiki. Can you link it here?
from cityscope.github.io.
@yasushisakai thanks. As mentioned, it's really up to you. I personally skipped that process to simply put md
in the meta-repo, and none in the sub-repos. Do keep in mind that @crisjf script (despite being reallllllly cool ), cannot handle future changes to files and folders locations. Also, mdx
capabilities might not work.
from cityscope.github.io.
I looked at the wiki in the CityScope/CS_CityIO repo. Adding this block to the pull_docs.yml
workflow should solve this issue. I'm happy to implement it if you guys are happy with it.
- name: Update CS_CityIO
run: bash .github/scripts/update.sh wiki/CityScope CS_CityIO docsite/docs/backend Home.md API.md Client-Examples.md
from cityscope.github.io.
@crisjf thanks, but I would like to use this opportunity to get rid of the wiki and centralize it for access. Another thing I do think it's saner to have the original docs closer to the actual code. This is not meant to be referenced by for me to maintain.
commit 5a1517 has the .md files inside the https://github.com/CityScope/CS_CityIO repository. its inside the docs/
(here) folder under the project root.
What should I do next?
from cityscope.github.io.
Even better. Do you want to link all the md
s? It looks like Home.md
, API.md
, and Running-it-locally.md
are the important ones. If so, then add the following block to this yml file. I wrote a short wiki on the syntax here.
- name: Update CS_CityIO
run: bash .github/scripts/update.sh CityScope CS_CityIO docsite/docs/backend docs/Home.md docs/API.md docs/Running-it-locally.md
Once you've done this, every time you edit these three files, they will be automatically updated here. Let me know once you've done it and I'll take a look.
from cityscope.github.io.
Also, if you go to the Actions tab in this repo, you'll be able to run the workflow manually. Check here.
from cityscope.github.io.
@yasushisakai following @crisjf comment #29 (comment), if possible I suggest we consolidate cityIO docs into one large md file. This is b/c the new doc site works well with large md files, given the treemap structure. Also, one md makes it easier to embed in @crisjf service.
from cityscope.github.io.
got it! CityScope/CS_CityIO@5ec07b1 does this.
the single md file is located here /master/docs/cityio_documentation.md
I'll go through typos and broken links and formatting once this workflow is established. Let me know what I'm missing
from cityscope.github.io.
I'll link it. @RELNO, just fyi the action and handle multiple mds. It just joins them into one single file keeping the order of the arguments in the action.
from cityscope.github.io.
@crisjf great, how's this file called at the end of the pipeline?
from cityscope.github.io.
All set, the file is synced here:
https://github.com/CityScope/cityscope.github.io/tree/new_docsite/docsite/docs/backend/CityIO
@RELNO please note the capital letters [C]ity[IO]
from cityscope.github.io.
Thanks both, closing
from cityscope.github.io.
Related Issues (20)
- Archive Inactive Repos
- table CAD files HOT 4
- Cannot deploy build to GH-PAGES in this repo HOT 10
- CS Types - Question HOT 1
- Reduce the types in this iteration to the "minimum - minimum - minimum" HOT 1
- Replace the rgb to ch HOT 1
- Remove the text: "//dynamic attr is not part of a json, it was a leftover from past discussion" HOT 1
- Classes formatting issues HOT 1
- Data types for docs HOT 4
- CityScope diagram/scheme HOT 2
- Implement JS objects in Brix docs HOT 1
- CityScope entry point meta_grid HOT 9
- GEOGRID vs GEOGRIDATA HOT 7
- Update FE with GAMA docs HOT 1
- Showcases & Hello World tables
- Mismatch in types documentation HOT 7
- Doc for backend still lists miragecity HOT 6
- Server down
- Consolidate documentations HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cityscope.github.io.