Welcome to Drafter’s documentation.¶
Drafter is a classroom tool that allows you to create full stack websites as you learn to code in Python.
Contents:
- How to Install Drafter
- Drafter Quick Start Guide
- Workbook
- Longer Examples
- Drafter Documentation for Students
- HTML
- Styling
- Reference Lists
- More Help
- Deployment
- Step 1: Create the Repository
- Step 2: Enable GitHub Pages
- Step 3: Edit Your Main.py File
- Step 4: Upload Additional Files (If Needed)
- Step 5: Upload Your Planning Document
- Step 6: Update set_site_information with Your Details
- Step 7: Record a Video
- Step 8: Deploy Your Website
- Step 9: Get Your Deployed URL and Submit
- Checking Your Site Information
- Deployment Dashboard
- Common Issues and Tips
- Full API Documentation
ServerSiteInformationbundle_files_into_js()get_all_routes()get_main_server()get_server_setting()protect_script_tags()set_main_server()start_server()BakeryTestCaseassert_equal()diff_tests()route()PageConversionRecordUnchangedRecordVisitedPageadd_website_css()add_website_header()default_index()deploy_site()hide_debug_information()set_site_information()set_website_framed()set_website_style()set_website_title()show_debug_information()DebugInformationServerConfigurationApiKeyBoxArgumentBoxBulletedListButtonCheckBoxDivDivisionDownloadFileUploadHeaderHorizontalRuleImageLineBreakLinkLinkContentMatPlotLibPlotNumberedListPageContentPicturePrePreformattedTextRowSelectBoxSpanSubmitButtonTableTextTextAreaTextBoxmake_safe_argument()make_safe_json_argument()make_safe_name()validate_parameter_name()float_left()float_right()update_attr()update_style()LLMErrorLLMMessageLLMResponsecall_gemini()call_gemini_structured()call_gpt()call_gpt_structured()clear_api_key()get_stored_api_key()save_api_key()