Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add code example on landing page #211

Merged
merged 1 commit into from
Jan 16, 2025
Merged

Add code example on landing page #211

merged 1 commit into from
Jan 16, 2025

Conversation

WardBrian
Copy link
Member

This adds a code example as proposed in #210

It also moves the css that only the homepage needs into its own file here, to make it easier to edit without the submodule getting involved

Note this doesn't provide a "Try it" button, which we could. The bernoulli model is the one in the stan-web-demo, but we could also link to https://stan-playground.flatironinstitute.org/?stan=https://raw.githubusercontent.com/stan-dev/cmdstan/develop/examples/bernoulli/bernoulli.stan&data=https://raw.githubusercontent.com/stan-dev/cmdstan/develop/examples/bernoulli/bernoulli.data.json&title=Bernoulli%20Example

@WardBrian WardBrian requested a review from mitzimorris January 16, 2025 19:18
Copy link
Member

@mitzimorris mitzimorris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome! many thanks!

@WardBrian WardBrian merged commit 7f32cd9 into master Jan 16, 2025
@WardBrian WardBrian deleted the code-on-homepage branch January 16, 2025 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants